]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390: bug fix. DFP rounding mode mixup.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 10 Jan 2013 15:41:46 +0000 (15:41 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 10 Jan 2013 15:41:46 +0000 (15:41 +0000)
Spotted and fixed by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).

git-svn-id: svn://svn.valgrind.org/vex/trunk@2630

VEX/priv/host_s390_defs.c

index 6ba22d0ce2eabb668378ed20809c90a24b67c0e3..642c959d0e79025294aca2200ddd7ad3a7059db2 100644 (file)
@@ -8508,7 +8508,7 @@ s390_insn_dfp_binop_emit(UChar *buf, const s390_insn *insn)
    UInt r1 = hregNumber(dfp_binop->dst_hi);
    UInt r2 = hregNumber(dfp_binop->op2_hi);
    UInt r3 = hregNumber(dfp_binop->op3_hi);
-   UInt m4 = hregNumber(dfp_binop->rounding_mode);
+   s390_dfp_round_t m4 = dfp_binop->rounding_mode;
 
    switch (insn->size) {
    case 8: