gas/
commitb2830069a8175cd04a4ea472f306702c80d97dce
authorH.J. Lu <hjl@lucon.org>
Wed, 18 Apr 2007 16:15:55 +0000 (18 16:15 +0000)
committerH.J. Lu <hjl@lucon.org>
Wed, 18 Apr 2007 16:15:55 +0000 (18 16:15 +0000)
treea14b49463b4eb1b20b1df8f4eb86e1f19640e65e
parent7eb5f813c1e70c3587f85a86d41a84aa21aba746
gas/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
(match_template): Handle operand size for crc32 in SSE4.2.
(process_suffix): Handle operand type for crc32 in SSE4.2.
(output_insn): Support SSE4.2.

gas/testsuite/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add sse4.2 and x86-64-sse4.2.

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

opcodes/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): New.
(PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
 PREGRP91): New.
(threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
(three_byte_table): Likewise.

* i386-opc.c (i386_optab): Add SSE4.2 opcodes.

* gas/config/tc-i386.h (CpuSSE4_2): New.
(CpuSSE4): Likewise.
(CpuUnknownFlags): Add CpuSSE4_2.
12 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/sse4_2.d [new file with mode: 0644]
gas/testsuite/gas/i386/sse4_2.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-sse4_2.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-sse4_2.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.c
opcodes/i386-opc.h