gas/config/
commit2a786e9e6ae905dc6eebf4357b83552b2448f1cc
authorH.J. Lu <hjl@lucon.org>
Tue, 1 May 2007 12:59:24 +0000 (1 12:59 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 1 May 2007 12:59:24 +0000 (1 12:59 +0000)
treec32e9bd0d8f28ba59e9d2262a4fb8461ae4ffa8f
parentb3bdd229a16fe199d50bb5df84defd801dda7a96
gas/config/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Check suffix for crc32 in
Intel mdoe.
(process_suffix): Default the suffix of 8bit crc32 to
BYTE_MNEM_SUFFIX.
(check_byte_reg): Skip check for 8bit crc32.

gas/testsuite/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/crc32-intel.d: New file.
* gas/i386/crc32.d:Likewise.
* gas/i386/crc32.s:Likewise.
* gas/i386/x86-64-crc32-intel.d:Likewise.
* gas/i386/x86-64-crc32.d:Likewise.
* gas/i386/x86-64-crc32.s:Likewise.

* gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32
and x86-64-crc32-intel.

opcodes/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
check data size prefix in 16bit mode.

* i386-opc.c (i386_optab): Default crc32 to non-8bit and
support Intel mode.
13 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/crc32-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/crc32.d [new file with mode: 0644]
gas/testsuite/gas/i386/crc32.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-crc32-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-crc32.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-crc32.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.c