]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Support FEMMS in x86 mode as we already do for amd64. Fix for #204574.
authorTom Hughes <tom@compton.nu>
Thu, 11 Aug 2011 14:43:12 +0000 (14:43 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 11 Aug 2011 14:43:12 +0000 (14:43 +0000)
Note, from #124499 where this was discussed for amd64, that FEMMS is
a 3DNow instruction that has identical behaviour to EMMS and is only
supposed on AMD processors for backwards compatibility.

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

VEX/priv/guest_x86_toIR.c

index 3f5bf9191e91895e9e1dfc1a37ab2206da6bebac..41481b6b6e41e6ab9b1a6a2913c2792b58dffbb5 100644 (file)
@@ -15006,11 +15006,12 @@ DisResult disInstr_X86_WRK (
          break;
       }
 
+      case 0x0E: /* FEMMS */
       case 0x77: /* EMMS */
          if (sz != 4)
             goto decode_failure;
          do_EMMS_preamble();
-         DIP("emms\n");
+         DIP("{f}emms\n");
          break;
 
       /* =-=-=-=-=-=-=-=-=- SGDT and SIDT =-=-=-=-=-=-=-=-=-=-= */