Fix memory operand size for vcvtt?ps2u?qq instructions
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jul 2015 20:24:20 +0000 (13:24 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jul 2015 20:26:21 +0000 (13:26 -0700)
commit20c2a615876bdf0d5dc8e2db86eea1312d9dc9b8
tree156526f9fed8f28581d1d741494feee7c6b92c65
parent7360e63f80782cf34a195eb1c6149760c3da7f14
Fix memory operand size for vcvtt?ps2u?qq instructions

When disassembling AVX512 vcvtt?ps2u?q instructions with data
broadcasting enabled, memory operand size should be DWORD.

gas/testsuite/

PR binutils/18631
* gas/i386avx512dq-intel.d: Replace "QWORD" with "DWORD" in
vcvtt?ps2u?qq instructions disassembly regexes.
Add disassembly regex for new test.
* gas/i386/avx512dq.d: Likewise.
* gas/i386/avx512dq_vl-intel.d: Likewise.
* gas/i386/avx512dq_vl.d: Likewise.
* gas/i386/x86-64-avx512dq-intel.d: Likewise.
* gas/i386/x86-64-avx512dq.d: Likewise.
* gas/i386/x86-64-avx512dq_vl-intel.d: Likewise.
* gas/i386/x86-64-avx512dq_vl.d: Likewise.
* gas/i386/avx512dq.s: Add new test for Intel syntax with memory
operand and broadcasting enabled.
* gas/i386/avx512dq_vl.s: Likewise.
* gas/i386/x86-64-avx512dq.s: Likewise.
* gas/i386/x86-64-avx512dq_vl.s: Likewise.

opcodes/

PR binutils/18631
* i386-dis-evex.h (EVEX_W_0F78_P_2): Replace "EXxmmq" with
"EXEvexHalfBcstXmmq" for the second operand.
(EVEX_W_0F79_P_2): Likewise.
(EVEX_W_0F7A_P_2): Likewise.
(EVEX_W_0F7B_P_2): Likewise.
15 files changed:
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/avx512dq-intel.d
gas/testsuite/gas/i386/avx512dq.d
gas/testsuite/gas/i386/avx512dq.s
gas/testsuite/gas/i386/avx512dq_vl-intel.d
gas/testsuite/gas/i386/avx512dq_vl.d
gas/testsuite/gas/i386/avx512dq_vl.s
gas/testsuite/gas/i386/x86-64-avx512dq-intel.d
gas/testsuite/gas/i386/x86-64-avx512dq.d
gas/testsuite/gas/i386/x86-64-avx512dq.s
gas/testsuite/gas/i386/x86-64-avx512dq_vl-intel.d
gas/testsuite/gas/i386/x86-64-avx512dq_vl.d
gas/testsuite/gas/i386/x86-64-avx512dq_vl.s
opcodes/ChangeLog
opcodes/i386-dis-evex.h