summaryrefslogtreecommitdiff
path: root/opcodes/i386-dis-evex.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-03-10 08:20:29 +0100
committerJan Beulich <jbeulich@suse.com>2021-03-10 08:20:29 +0100
commitb763d508db481ae3721a80392a1b02e681662d23 (patch)
tree50d6d05f1615ced1e73ab98c6392a5e483e199a3 /opcodes/i386-dis-evex.h
parent32e31ad7da96b36879a64235f73926a7f83be4e0 (diff)
downloadbinutils-gdb-b763d508db481ae3721a80392a1b02e681662d23.tar.gz
x86/Intel: correct AVX512 S/G disassembly
Commit 6ff00b5e12e7 ("x86/Intel: correct permitted operand sizes for AVX512 scatter/gather") brought the assembler side of AVX512 S/G insn handling in line with AVX2's, but the disassembler side was forgotten. This has the benefit of - allowing to fold a number of table entries, - rendering a few #define-s and enumerators unused.
Diffstat (limited to 'opcodes/i386-dis-evex.h')
-rw-r--r--opcodes/i386-dis-evex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/i386-dis-evex.h b/opcodes/i386-dis-evex.h
index eb88e5f4300..ec50104eead 100644
--- a/opcodes/i386-dis-evex.h
+++ b/opcodes/i386-dis-evex.h
@@ -456,9 +456,9 @@ static const struct dis386 evex_table[][256] = {
{ "vpshufbitqmb", { XMask, Vex, EXx }, PREFIX_DATA },
/* 90 */
{ "vpgatherd%DQ", { XM, MVexVSIBDWpX }, PREFIX_DATA },
- { VEX_W_TABLE (EVEX_W_0F3891) },
+ { "vpgatherq%DQ", { XMGatherQ, MVexVSIBQWpX }, PREFIX_DATA },
{ "vgatherdp%XW", { XM, MVexVSIBDWpX}, PREFIX_DATA },
- { VEX_W_TABLE (EVEX_W_0F3893) },
+ { "vgatherqp%XW", { XMGatherQ, MVexVSIBQWpX }, PREFIX_DATA },
{ Bad_Opcode },
{ Bad_Opcode },
{ "vfmaddsub132p%XW", { XM, Vex, EXx, EXxEVexR }, PREFIX_DATA },
@@ -474,9 +474,9 @@ static const struct dis386 evex_table[][256] = {
{ "vfnmsub132s%XW", { XMScalar, VexScalar, EXVexWdqScalar, EXxEVexR }, PREFIX_DATA },
/* A0 */
{ "vpscatterd%DQ", { MVexVSIBDWpX, XM }, PREFIX_DATA },
- { VEX_W_TABLE (EVEX_W_0F38A1) },
+ { "vpscatterq%DQ", { MVexVSIBQWpX, XMGatherQ }, PREFIX_DATA },
{ "vscatterdp%XW", { MVexVSIBDWpX, XM }, PREFIX_DATA },
- { VEX_W_TABLE (EVEX_W_0F38A3) },
+ { "vscatterqp%XW", { MVexVSIBQWpX, XMGatherQ }, PREFIX_DATA },
{ Bad_Opcode },
{ Bad_Opcode },
{ "vfmaddsub213p%XW", { XM, Vex, EXx, EXxEVexR }, PREFIX_DATA },