]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
fre: observe the current rounding mode
authorJulian Seward <jseward@acm.org>
Mon, 6 Feb 2006 22:19:17 +0000 (22:19 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 6 Feb 2006 22:19:17 +0000 (22:19 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@1570

VEX/priv/guest-ppc/toIR.c

index 010e6b7de71f6af8773174d9e1c9f7714de2e67f..2310ee9108239da4f6b464d03168686af96f4ac0 100644 (file)
@@ -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;