x86: partial revert of 10c17abdd0
authorJan Beulich <jbeulich@novell.com>
Tue, 2 Jan 2018 10:44:04 +0000 (11:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 2 Jan 2018 10:44:04 +0000 (11:44 +0100)
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.

opcodes/ChangeLog
opcodes/i386-gen.c

index 3c5de6125ee1fcc55dc9c715a9b96b5acee08694..356639e828df93fd260980ad2e0b4dbd2289c97d 100644 (file)
@@ -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.
index e03e800bbe72c9ab48c46f102aa561749389eee1..2acf1a4fc775bed66b202629ba94f139ced65d2f 100644 (file)
@@ -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",