SOURCES: valgrind-repret.patch (NEW) - handle REP RET
wolf
wolf at pld-linux.org
Sat Aug 13 14:48:12 CEST 2005
Author: wolf Date: Sat Aug 13 12:48:12 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- handle REP RET
---- Files affected:
SOURCES:
valgrind-repret.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/valgrind-repret.patch
diff -u /dev/null SOURCES/valgrind-repret.patch:1.1
--- /dev/null Sat Aug 13 14:48:12 2005
+++ SOURCES/valgrind-repret.patch Sat Aug 13 14:48:07 2005
@@ -0,0 +1,21 @@
+Index: priv/guest-x86/toIR.c
+===================================================================
+--- VEX/priv/guest-x86/toIR.c (wersja 1331)
++++ VEX/priv/guest-x86/toIR.c (wersja 1332)
+@@ -11353,11 +11353,11 @@
+ dres.whatNext = Dis_StopHere;
+ break;
+
+-//-- case 0xC3: /* REP RET */
+-//-- /* AMD K7/K8-specific optimisation; faster than vanilla RET */
+-//-- dis_ret(cb, 0);
+-//-- DIP("rep ret\n");
+-//-- break;
++ case 0xC3: /* REP RET -- same as normal ret? */
++ dis_ret(0);
++ dres.whatNext = Dis_StopHere;
++ DIP("rep ret\n");
++ break;
+
+ default:
+ goto decode_failure;
================================================================
More information about the pld-cvs-commit
mailing list