diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-02-10 08:15:11 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-02-10 08:15:11 +0100 |
commit | aa1807419ba0b6fa4a8b497babc1c89b27e667e5 (patch) | |
tree | fd60bef612330615c9f1010465564223843f433f /opcodes/i386-opc.h | |
parent | 5dab1799d7079765845cfbe6b523bda3add93acb (diff) | |
download | binutils-aa1807419ba0b6fa4a8b497babc1c89b27e667e5.zip binutils-aa1807419ba0b6fa4a8b497babc1c89b27e667e5.tar.gz binutils-aa1807419ba0b6fa4a8b497babc1c89b27e667e5.tar.bz2 |
x86: drop use of VEX3SOURCES
The attribute really specifies that the sum of register and memory
operands is 4. Express it like that in most places, while using the 2nd
(apart from XOP) CPU feature flags (FMA4) in reversed operand matching
logic.
With the use in build_modrm_byte() gone, part of an assertion there
also becomes meaningless - simplify that at the same time.
With all uses of the opcode modifier field gone, also drop that.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index fd76ce5..03811a7 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -617,12 +617,6 @@ enum #define PREFIX_0XF3 2 #define PREFIX_0XF2 3 OpcodePrefix, - /* number of VEX source operands: - 0: <= 2 source operands. - 2: 3 source operands. - */ -#define VEX3SOURCES 2 - VexSources, /* Instruction with a mandatory SIB byte: 1: 128bit vector register. 2: 256bit vector register. @@ -736,7 +730,6 @@ typedef struct i386_opcode_modifier unsigned int vexvvvv:2; unsigned int vexw:2; unsigned int opcodeprefix:2; - unsigned int vexsources:2; unsigned int sib:3; unsigned int sse2avx:1; unsigned int evex:3; |