From: Florian Krohm Date: Thu, 21 Feb 2013 03:03:05 +0000 (+0000) Subject: s390: Fix a type mixup found by BEAM. X-Git-Tag: svn/VALGRIND_3_9_0^2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf2a55d4d3a64619bed28fc7ec0b60bb0908f9ab;p=thirdparty%2Fvalgrind.git s390: Fix a type mixup found by BEAM. git-svn-id: svn://svn.valgrind.org/vex/trunk@2685 --- diff --git a/VEX/priv/host_s390_isel.c b/VEX/priv/host_s390_isel.c index 2f42afd3b6..21b8867a32 100644 --- a/VEX/priv/host_s390_isel.c +++ b/VEX/priv/host_s390_isel.c @@ -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);