]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix bug? in do_put_x87 which would have resulting in FLDENV setting to
authorJulian Seward <jseward@acm.org>
Fri, 25 Mar 2005 22:39:28 +0000 (22:39 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 25 Mar 2005 22:39:28 +0000 (22:39 +0000)
zero registers which the to-be-loaded tag word indicates are empty.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1090

VEX/priv/guest-x86/ghelpers.c

index 3e249d979a60043d207fe0f6932f232cb5ae40e7..3e0d5470c61d4c9ea6fcec01eb6dab38c987b5df 100644 (file)
@@ -1709,7 +1709,7 @@ VexEmWarn do_put_x87 ( Bool moveRegs,
             safer to say it does.  If we don't, memcheck could get out
             of sync, in that it thinks all FP registers are defined by
             this helper, but in reality some have not been updated. */
-         if (True || moveRegs)
+         if (moveRegs)
             vexRegs[preg] = 0.0;
          vexTags[preg] = 0;
       } else {