]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Re-enable 'repne movs' (fix for original bug in #126147).
authorJulian Seward <jseward@acm.org>
Tue, 14 Nov 2006 15:33:05 +0000 (15:33 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 14 Nov 2006 15:33:05 +0000 (15:33 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@1674

VEX/priv/guest-x86/toIR.c

index 55be948f9e027fffa115af5d658e4d15e3853b27..20c3456d5d4b3e2cb0dd398d41ab9cb459049d4c 100644 (file)
@@ -11919,11 +11919,10 @@ DisResult disInstr_X86_WRK (
       /* According to the Intel manual, "repne movs" should never occur, but
        * in practice it has happened, so allow for it here... */
       case 0xA4: sz = 1;   /* REPNE MOVS<sz> */
-        goto decode_failure;
-//--       case 0xA5: 
-        //         dis_REP_op ( CondNZ, dis_MOVS, sz, eip_orig,
-        //                              guest_eip_bbstart+delta, "repne movs" );
-        //         break;
+      case 0xA5: 
+         dis_REP_op ( X86CondNZ, dis_MOVS, sz, eip_orig,
+                                 guest_EIP_bbstart+delta, "repne movs" );
+         break;
 //-- 
 //--       case 0xA6: sz = 1;   /* REPNE CMPS<sz> */
 //--       case 0xA7: