From: Julian Seward Date: Mon, 6 Feb 2006 22:19:17 +0000 (+0000) Subject: fre: observe the current rounding mode X-Git-Tag: svn/VALGRIND_3_2_3^2~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a64fd4a7232b5ed72feea4917277102aa378b25;p=thirdparty%2Fvalgrind.git fre: observe the current rounding mode git-svn-id: svn://svn.valgrind.org/vex/trunk@1570 --- diff --git a/VEX/priv/guest-ppc/toIR.c b/VEX/priv/guest-ppc/toIR.c index 010e6b7de7..2310ee9108 100644 --- a/VEX/priv/guest-ppc/toIR.c +++ b/VEX/priv/guest-ppc/toIR.c @@ -5828,10 +5828,8 @@ static Bool dis_fp_arith ( UInt theInstr ) frD_addr, frB_addr); { IRExpr* ieee_one = IRExpr_Const(IRConst_F64i(0x3ff0000000000000ULL)); - /* Does this really depend on the rounding mode? Play safe - and use the default. */ assign( frD, triop( Iop_DivF64, - mkU32(Irrm_NEAREST), + rm, ieee_one, mkexpr(frB) )); } break;