gas/
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 18 Apr 2007 16:15:55 +0000 (16:15 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 18 Apr 2007 16:15:55 +0000 (16:15 +0000)
commit381d071fc5599e06d72f6f75395fb0ffe5bd531c
tree0357b8cff360b66f981c307b7b944cb5044395ad
parent42903f7f5903fc4a27294aab1e23708c59a86b17
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