summaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-02-10 08:14:46 +0100
committerJan Beulich <jbeulich@suse.com>2023-02-10 08:14:46 +0100
commit5dab1799d7079765845cfbe6b523bda3add93acb (patch)
tree5a2ed416dea2e191bc74ffb845c0bd33715dfca7 /opcodes/i386-opc.h
parentba3ffa6de0510892bf8020188d834f24ea8b7f75 (diff)
downloadbinutils-gdb-5dab1799d7079765845cfbe6b523bda3add93acb.tar.gz
x86: drop use of XOP2SOURCES
The few XOP insns which used it wrongly didn't have VexVVVV specified. With that added, the only further missing piece to use more generic code elsewhere is SwapSources - see e.g. the BMI2 insns for similar operand patterns. With the only users gone, drop the #define as well as the special case code.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 1bb6106b37b..fd76ce5e3ce 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -619,10 +619,8 @@ enum
OpcodePrefix,
/* number of VEX source operands:
0: <= 2 source operands.
- 1: 2 XOP source operands.
2: 3 source operands.
*/
-#define XOP2SOURCES 1
#define VEX3SOURCES 2
VexSources,
/* Instruction with a mandatory SIB byte: