From 3a64fd4a7232b5ed72feea4917277102aa378b25 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 6 Feb 2006 22:19:17 +0000 Subject: [PATCH] fre: observe the current rounding mode git-svn-id: svn://svn.valgrind.org/vex/trunk@1570 --- VEX/priv/guest-ppc/toIR.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.47.3