* config/tc-i386.c (process_suffix): Check 0x90 instead of
	xchg for xchg %rax,%rax.
This commit is contained in:
H.J. Lu
2007-03-22 00:27:14 +00:00
parent 8c536c9531
commit 13a1e313c9
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Check 0x90 instead of
xchg for xchg %rax,%rax.
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY

View File

@@ -2983,7 +2983,7 @@ process_suffix (void)
if (i.operands != 2
|| i.types [0] != (Acc | Reg64)
|| i.types [1] != (Acc | Reg64)
|| strcmp (i.tm.name, "xchg") != 0)
|| i.tm.base_opcode != 0x90)
i.rex |= REX_W;
}