aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2018-01-02 11:44:04 +0100
committerJan Beulich <jbeulich@suse.com>2018-01-02 11:44:04 +0100
commit1508bbf535b03e3b9105d01a9e19f29f131b3d1a (patch)
tree90b6c12cc0dd0af3203223a9dea92aecab8a520b
parent9fe561ab7fc5ee3a06061dae6909cd61b49435df (diff)
downloadgdb-1508bbf535b03e3b9105d01a9e19f29f131b3d1a.zip
gdb-1508bbf535b03e3b9105d01a9e19f29f131b3d1a.tar.gz
gdb-1508bbf535b03e3b9105d01a9e19f29f131b3d1a.tar.bz2
x86: partial revert of 10c17abdd0
Other than the variables in tc-i386.c using them, OPERAND_TYPE_REGYMM and OPERAND_TYPE_REGZMM they aren't entirely unused. No need to update i386-init.h though, as it mistakenly wasn't updated by the original commit.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-gen.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 3c5de61..356639e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-02 Jan Beulich <jbeulich@suse.com>
+
+ * i386-gen.c (operand_type_init): Restore OPERAND_TYPE_REGYMM
+ and OPERAND_TYPE_REGZMM entries.
+
2017-12-20 Jim Wilson <jimw@sifive.com>
* riscv-opc.c (match_c_add_with_hint, match_c_lui_with_hint): New.
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index e03e800..2acf1a4 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -412,6 +412,10 @@ static initializer operand_type_init[] =
"RegMMX" },
{ "OPERAND_TYPE_REGXMM",
"RegXMM" },
+ { "OPERAND_TYPE_REGYMM",
+ "RegYMM" },
+ { "OPERAND_TYPE_REGZMM",
+ "RegZMM" },
{ "OPERAND_TYPE_REGMASK",
"RegMask" },
{ "OPERAND_TYPE_ESSEG",