2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Mar 2007 00:27:14 +0000 (00:27 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Mar 2007 00:27:14 +0000 (00:27 +0000)
* config/tc-i386.c (process_suffix): Check 0x90 instead of
xchg for xchg %rax,%rax.

gas/ChangeLog
gas/config/tc-i386.c

index b7ab028bae00590dbd6a377e57691775b6b57b4e..5f9cbfd16f51b7bcb5adcb920f2a2c94775c9e4e 100644 (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
index cdca39a3f5d8162e3624f694a8313b3b09ee045f..eba64002adfeac1fa96edccd0b51ee1d975f3ad5 100644 (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;
        }
 
This page took 0.050837 seconds and 4 git commands to generate.