diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-11-08 09:04:09 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-11-08 09:04:09 +0100 |
commit | 00cee14fbad24453ff56656c5726ef5e4b0de588 (patch) | |
tree | 1b4bbeafdf3970582fbe95e092b178bacf070cd2 /opcodes/i386-gen.c | |
parent | bab6aec1255ba2ec8de3ae0363958e2ff26ce25d (diff) | |
download | gdb-00cee14fbad24453ff56656c5726ef5e4b0de588.zip gdb-00cee14fbad24453ff56656c5726ef5e4b0de588.tar.gz gdb-00cee14fbad24453ff56656c5726ef5e4b0de588.tar.bz2 |
x86: convert SReg from bitfield to enumerator
This is to further shrink the operand type representation.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r-- | opcodes/i386-gen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index a15be80..9403ce2 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -436,7 +436,7 @@ static initializer operand_type_init[] = { "OPERAND_TYPE_FLOATACC", "Acc|Tbyte" }, { "OPERAND_TYPE_SREG", - "SReg" }, + "Class=SReg" }, { "OPERAND_TYPE_JUMPABSOLUTE", "JumpAbsolute" }, { "OPERAND_TYPE_REGMMX", @@ -683,6 +683,7 @@ static const struct { enum operand_class value; } operand_classes[] = { CLASS (Reg), + CLASS (SReg), }; #undef CLASS @@ -710,7 +711,6 @@ static bitfield operand_types[] = BITFIELD (Control), BITFIELD (Debug), BITFIELD (Test), - BITFIELD (SReg), BITFIELD (Acc), BITFIELD (JumpAbsolute), BITFIELD (EsSeg), |