aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2017-12-18 09:36:14 +0100
committerJan Beulich <jbeulich@suse.com>2017-12-18 09:36:14 +0100
commit1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d (patch)
tree251683194a05f8a20ac48f8260147bf3e6af37bb /opcodes/i386-gen.c
parentca0d63fe0703ed36af1a7bda6097958805895b3a (diff)
downloadgdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.zip
gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.tar.gz
gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.tar.bz2
x86: fold RegXMM/RegYMM/RegZMM into RegSIMD
... qualified by their respective sizes, allowing to drop FirstXmm0 at the same time.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 411cacb..2acf1a4 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -343,6 +343,9 @@ static const initializer operand_type_shorthands[] =
{ "Reg64", "Reg|Qword" },
{ "FloatAcc", "Acc|Tbyte" },
{ "FloatReg", "Reg|Tbyte" },
+ { "RegXMM", "RegSIMD|Xmmword" },
+ { "RegYMM", "RegSIMD|Ymmword" },
+ { "RegZMM", "RegSIMD|Zmmword" },
};
static initializer operand_type_init[] =
@@ -601,7 +604,6 @@ static bitfield opcode_modifiers[] =
BITFIELD (NoTrackPrefixOk),
BITFIELD (IsLockable),
BITFIELD (RegKludge),
- BITFIELD (FirstXmm0),
BITFIELD (Implicit1stXmm0),
BITFIELD (RepPrefixOk),
BITFIELD (HLEPrefixOk),
@@ -643,9 +645,7 @@ static bitfield operand_types[] =
{
BITFIELD (Reg),
BITFIELD (RegMMX),
- BITFIELD (RegXMM),
- BITFIELD (RegYMM),
- BITFIELD (RegZMM),
+ BITFIELD (RegSIMD),
BITFIELD (RegMask),
BITFIELD (Imm1),
BITFIELD (Imm8),