aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-03-23 17:08:39 +0100
committerJan Beulich <jbeulich@suse.com>2021-03-23 17:08:39 +0100
commit441f6aca3923ba65db139f5c2557a5f01e190edc (patch)
tree3db030cdeae0a950236523451d774b374f26a274 /opcodes/i386-gen.c
parent66848ebca8da38ce395d74d25d604646738514a7 (diff)
downloadgdb-441f6aca3923ba65db139f5c2557a5f01e190edc.zip
gdb-441f6aca3923ba65db139f5c2557a5f01e190edc.tar.gz
gdb-441f6aca3923ba65db139f5c2557a5f01e190edc.tar.bz2
x86: split opcode prefix and opcode space representation
Commit 8b65b8953af2 ("x86: Remove the prefix byte from non-VEX/EVEX base_opcode") used the opcodeprefix field for two distinct purposes. In preparation of having VEX/XOP/EVEX and non-VEX templates become similar in the representatioon of both encoding space and opcode prefixes, split the field to have a separate one holding an insn's opcode space.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 63c0a3c..84dbd45 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -719,6 +719,7 @@ static bitfield opcode_modifiers[] =
BITFIELD (Vex),
BITFIELD (VexVVVV),
BITFIELD (VexW),
+ BITFIELD (OpcodeSpace),
BITFIELD (OpcodePrefix),
BITFIELD (VexSources),
BITFIELD (SIB),