From: H.J. Lu Date: Thu, 22 Mar 2007 00:27:14 +0000 (+0000) Subject: 2003-03-21 H.J. Lu X-Git-Tag: drow-reverse-20070409-branchpoint~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13a1e313c91bc3dd00847b5f55cdc67f9c76052a;p=thirdparty%2Fbinutils-gdb.git 2003-03-21 H.J. Lu * config/tc-i386.c (process_suffix): Check 0x90 instead of xchg for xchg %rax,%rax. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b7ab028bae0..5f9cbfd16f5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-03-21 H.J. Lu + + * config/tc-i386.c (process_suffix): Check 0x90 instead of + xchg for xchg %rax,%rax. + 2003-03-21 H.J. Lu * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index cdca39a3f5d..eba64002adf 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -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; }