This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/12774] displaced stepping optimization


https://sourceware.org/bugzilla/show_bug.cgi?id=12774

--- Comment #1 from Tom Tromey <tromey at redhat dot com> ---
My notes say that at one point Josh helpfully
provided a list of standard no-op sequences for x86.

<jistone> tromey, intel's recommendation is:
<jistone> Length
<jistone> Assembly Byte Sequence
<jistone> 2 bytes 66 NOP 66 90H
<jistone> 3 bytes NOP DWORD ptr [EAX] 0F 1F 00H
<jistone> 4 bytes NOP DWORD ptr [EAX + 00H] 0F 1F 40 00H
<jistone> 5 bytes NOP DWORD ptr [EAX + EAX*1 + 00H] 0F 1F 44 00 00H
<jistone> 6 bytes 66 NOP DWORD ptr [EAX + EAX*1 + 00H] 66 0F 1F 44 00 00H
<jistone> 7 bytes NOP DWORD ptr [EAX + 00000000H] 0F 1F 80 00 00 00 00H
<jistone> 8 bytes NOP DWORD ptr [EAX + EAX*1 + 00000000H] 0F 1F 84 00 00 00 00
      00H
<jistone> 9 bytes 66 NOP DWORD ptr [EAX + EAX*1 + 66 0F 1F 84 00 00 00 00
<jistone>         00000000H] 00H

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]