gas/
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 21 Mar 2007 20:45:14 +0000 (20:45 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 21 Mar 2007 20:45:14 +0000 (20:45 +0000)
commit8b38ad713b4d7d3cf34d59efcdeb562cad46b364
tree5dbe615ac85a15bd01cc0c6cacf1c3933e3f3571
parentffa8bd48e33d601fc4fccc3ad14449c80483daa2
gas/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4218
* config/tc-i386.c (match_template): Properly handle 64bit mode
"xchg %eax, %eax".

gas/testsuite/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4218
* gas/i386/nops.s: Add testcases for nop r/m.
* gas/i386/x86-64-nops.s: Likewise.

* gas/i386/x86-64-opcode.s: Add testcases for xchg with %ax,
%eax and %rax.

* gas/i386/nops.d: Updated.
* gas/i386/x86-64-nops.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.

opcodes/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4218
* i386-dis.c (PREGRP38): New.
(dis386): Use PREGRP38 for 0x90.
(prefix_user_table): Add PREGRP38.
(print_insn): Set uses_REPZ_prefix to 1 for pause.
(NOP_Fixup1): Properly handle REX bits.
(NOP_Fixup2): Likewise.

* i386-opc.c (i386_optab): Allow %eax with xchg in 64bit.
Allow register with nop.
12 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/nops.d
gas/testsuite/gas/i386/nops.s
gas/testsuite/gas/i386/x86-64-nops.d
gas/testsuite/gas/i386/x86-64-nops.s
gas/testsuite/gas/i386/x86-64-opcode.d
gas/testsuite/gas/i386/x86-64-opcode.s
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.c