]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390: Fix a type mixup found by BEAM.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 21 Feb 2013 03:03:05 +0000 (03:03 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 21 Feb 2013 03:03:05 +0000 (03:03 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2685

VEX/priv/host_s390_isel.c

index 2f42afd3b62c0403ad714e1ada0ef05f68d12247..21b8867a3281393ca416cbfc6a6f189068ab339b 100644 (file)
@@ -2460,7 +2460,7 @@ s390_isel_dfp128_expr_wrk(HReg *dst_hi, HReg *dst_lo, ISelEnv *env,
          /* DFP arithmetic ops take rounding mode only when fpext is
             installed. But, DFP quantize operation takes rm irrespective
             of fpext facility . */
-         if (s390_host_has_fpext || dfpop == Iop_QuantizeD128) {
+         if (s390_host_has_fpext || op == Iop_QuantizeD128) {
             rounding_mode = get_dfp_rounding_mode(env, irrm);
          } else {
             set_dfp_rounding_mode_in_fpc(env, irrm);