aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-07-01 08:38:50 +0200
committerJan Beulich <jbeulich@suse.com>2019-07-01 08:38:50 +0200
commit9d3bf266fd601031d12584982ef43df22c95e933 (patch)
tree819ccc648355ca9ef44015b02e20a81be262cc87 /opcodes/i386-gen.c
parentc3949f432f4f7e4a776bd15e10dad56593abeb47 (diff)
downloadgdb-9d3bf266fd601031d12584982ef43df22c95e933.zip
gdb-9d3bf266fd601031d12584982ef43df22c95e933.tar.gz
gdb-9d3bf266fd601031d12584982ef43df22c95e933.tar.bz2
x86: drop Vec_Imm4
It is pretty wasteful to have a per-operand flag which is used in exactly 4 cases. It can be relatively easily replaced, and by doing so I've actually found some dead code to remove at the same time (there's no case of ImmExt set at the same time as Vec_Imm4).
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index c0325ed..6e457a8 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -486,8 +486,6 @@ static initializer operand_type_init[] =
"Imm32|Imm32S|Imm64|Disp32" },
{ "OPERAND_TYPE_IMM32_32S_64_DISP32_64",
"Imm32|Imm32S|Imm64|Disp32|Disp64" },
- { "OPERAND_TYPE_VEC_IMM4",
- "Vec_Imm4" },
{ "OPERAND_TYPE_REGBND",
"RegBND" },
};
@@ -721,7 +719,6 @@ static bitfield operand_types[] =
BITFIELD (Zmmword),
BITFIELD (Unspecified),
BITFIELD (Anysize),
- BITFIELD (Vec_Imm4),
BITFIELD (RegBND),
#ifdef OTUnused
BITFIELD (OTUnused),