aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-03-09 08:54:32 +0100
committerJan Beulich <jbeulich@suse.com>2021-03-09 08:54:32 +0100
commit742732c7f0a989eaba7c1acac3ca5eeaa274df0e (patch)
tree32ec72bb67be1d97b75aac567debc8630c3aae09 /opcodes/i386-gen.c
parente93a3b27b23ca2850c01dfc8fdf1aa237d819193 (diff)
downloadgdb-742732c7f0a989eaba7c1acac3ca5eeaa274df0e.zip
gdb-742732c7f0a989eaba7c1acac3ca5eeaa274df0e.tar.gz
gdb-742732c7f0a989eaba7c1acac3ca5eeaa274df0e.tar.bz2
x86: fold some prefix related attributes into a single one
RepPrefixOk, HLEPrefixOk, and NoTrackPrefixOk can't be specified together, so can share an enum-like field. IsLockable can be inferred from HLE setting and hence only needs specifying when neither of them is present.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 5b03a1d..63c0a3c 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -705,12 +705,9 @@ static bitfield opcode_modifiers[] =
BITFIELD (IsString),
BITFIELD (RegMem),
BITFIELD (BNDPrefixOk),
- BITFIELD (NoTrackPrefixOk),
- BITFIELD (IsLockable),
BITFIELD (RegKludge),
BITFIELD (Implicit1stXmm0),
- BITFIELD (RepPrefixOk),
- BITFIELD (HLEPrefixOk),
+ BITFIELD (PrefixOk),
BITFIELD (ToDword),
BITFIELD (ToQword),
BITFIELD (AddrPrefixOpReg),