]> git.pld-linux.org Git - packages/valgrind.git/blob - valgrind-repret.patch
- handle REP RET
[packages/valgrind.git] / valgrind-repret.patch
1 Index: priv/guest-x86/toIR.c
2 ===================================================================
3 --- VEX/priv/guest-x86/toIR.c   (wersja 1331)
4 +++ VEX/priv/guest-x86/toIR.c   (wersja 1332)
5 @@ -11353,11 +11353,11 @@
6           dres.whatNext = Dis_StopHere;
7           break;
8  
9 -//--       case 0xC3:           /* REP RET */
10 -//--          /* AMD K7/K8-specific optimisation; faster than vanilla RET */
11 -//--          dis_ret(cb, 0);
12 -//--          DIP("rep ret\n");
13 -//--          break;
14 +      case 0xC3:           /* REP RET -- same as normal ret? */
15 +         dis_ret(0);
16 +         dres.whatNext = Dis_StopHere;
17 +         DIP("rep ret\n");
18 +         break;
19  
20        default:
21           goto decode_failure;
This page took 0.075867 seconds and 3 git commands to generate.