X86: Remove the .s suffix from EVEX vpextrw
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Nov 2016 22:00:18 +0000 (14:00 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Nov 2016 22:00:18 +0000 (14:00 -0800)
commit60227d64dd9228be1a07fc7122894fc2875b1a70
tree23d17d6b4dd2732945be1cbe6699d39adf0263ea
parent1032d6ebdcd53b8c09c76a1c3b932065d84b0b20
X86: Remove the .s suffix from EVEX vpextrw

The .s suffix indicates that the instruction is encoded by swapping
2 register operands.  Since vpextrw takes an XMM register and an
integer register, the .s suffix should be ignored for EVEX vpextrw.

gas/

PR binutils/20799
* testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
* testsuite/gas/i386/opcode-intel.d: Updated.
* testsuite/gas/i386/opcode-suffix.d: Likewise.
* testsuite/gas/i386/opcode.d: Likewise.
* testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
tests.
* testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
* testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.

opcodes/

PR binutils/20799
* i386-dis-evex.h (evex_table): Replace EdqwS with Edqw.
* i386-dis.c (EdqwS): Removed.
(dqw_swap_mode): Likewise.
(intel_operand_size): Don't check dqw_swap_mode.
(OP_E_register): Likewise.
(OP_E_memory): Likewise.
(OP_G): Likewise.
(OP_EX): Likewise.
* i386-opc.tbl: Remove "S" from EVEX vpextrw.
* i386-tbl.h: Regerated.
13 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/opcode-suffix.d
gas/testsuite/gas/i386/opcode.d
gas/testsuite/gas/i386/opcode.s
gas/testsuite/gas/i386/x86-64-avx512bw-opts-intel.d
gas/testsuite/gas/i386/x86-64-avx512bw-opts.d
gas/testsuite/gas/i386/x86-64-avx512bw-opts.s
opcodes/ChangeLog
opcodes/i386-dis-evex.h
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h