This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] x86: partial revert of 10c17abdd0


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1508bbf535b03e3b9105d01a9e19f29f131b3d1a

commit 1508bbf535b03e3b9105d01a9e19f29f131b3d1a
Author: Jan Beulich <jbeulich@novell.com>
Date:   Tue Jan 2 11:44:04 2018 +0100

    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.

Diff:
---
 opcodes/ChangeLog  | 5 +++++
 opcodes/i386-gen.c | 4 ++++
 2 files changed, 9 insertions(+)

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",


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]