mirror of
https://github.com/reactos/wine.git
synced 2024-11-23 20:00:00 +00:00
ntoskrnl.exe: Fix SIB_INDEX() to use REX_X, not REX_R.
Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
706145c563
commit
f8220cbe93
@ -492,7 +492,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(int);
|
||||
#define REGMODRM_RM( regmodrm, rex ) (((regmodrm) & 7) | (((rex) & REX_B) ? 8 : 0))
|
||||
|
||||
#define SIB_SS( sib, rex ) ((sib) >> 6)
|
||||
#define SIB_INDEX( sib, rex ) (((sib) >> 3) & 7) | (((rex) & REX_R) ? 8 : 0)
|
||||
#define SIB_INDEX( sib, rex ) (((sib) >> 3) & 7) | (((rex) & REX_X) ? 8 : 0)
|
||||
#define SIB_BASE( sib, rex ) (((sib) & 7) | (((rex) & REX_B) ? 8 : 0))
|
||||
|
||||
/* keep in sync with dlls/ntdll/thread.c:thread_init */
|
||||
|
Loading…
Reference in New Issue
Block a user