summaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-11-08 09:05:36 +0100
committerJan Beulich <jbeulich@suse.com>2019-11-08 09:05:36 +0100
commit3528c362d9471524cfe8a76c692081838b292d64 (patch)
treeb6bf9bd61e9beddc1e70c8c8f646e96940d6f957 /opcodes/i386-gen.c
parent4a5c67ed841db42c7be13cb2991ece3b3fc4bf75 (diff)
downloadbinutils-gdb-3528c362d9471524cfe8a76c692081838b292d64.tar.gz
x86: convert RegSIMD and RegMMX 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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 11a84264004..9844225cd02 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -440,13 +440,13 @@ static initializer operand_type_init[] =
{ "OPERAND_TYPE_JUMPABSOLUTE",
"JumpAbsolute" },
{ "OPERAND_TYPE_REGMMX",
- "RegMMX" },
+ "Class=RegMMX" },
{ "OPERAND_TYPE_REGXMM",
- "RegSIMD|Xmmword" },
+ "Class=RegSIMD|Xmmword" },
{ "OPERAND_TYPE_REGYMM",
- "RegSIMD|Ymmword" },
+ "Class=RegSIMD|Ymmword" },
{ "OPERAND_TYPE_REGZMM",
- "RegSIMD|Zmmword" },
+ "Class=RegSIMD|Zmmword" },
{ "OPERAND_TYPE_REGMASK",
"RegMask" },
{ "OPERAND_TYPE_ESSEG",
@@ -687,14 +687,14 @@ static const struct {
CLASS (RegCR),
CLASS (RegDR),
CLASS (RegTR),
+ CLASS (RegMMX),
+ CLASS (RegSIMD),
};
#undef CLASS
static bitfield operand_types[] =
{
- BITFIELD (RegMMX),
- BITFIELD (RegSIMD),
BITFIELD (RegMask),
BITFIELD (Imm1),
BITFIELD (Imm8),