aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2019-06-25 09:27:49 +0200
committerJan Beulich <jbeulich@suse.com>2019-06-25 09:35:17 +0200
commita38d71189b5895bae7bb476aa34d8a7ba75376d6 (patch)
treef6aa451af1fd3374d97f5a912038a6bc1e3f8dfd
parenta280ab8e81498c6049dca79f64bd0cc02ead01ab (diff)
downloadgdb-a38d71189b5895bae7bb476aa34d8a7ba75376d6.zip
gdb-a38d71189b5895bae7bb476aa34d8a7ba75376d6.tar.gz
gdb-a38d71189b5895bae7bb476aa34d8a7ba75376d6.tar.bz2
x86: don't open code is_any_vex_encoding()
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-i386.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2e12363..d2175b6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2019-06-25 Jan Beulich <jbeulich@suse.com>
+ * tc-i386.c (process_suffix): Use is_any_vex_encoding().
+
+2019-06-25 Jan Beulich <jbeulich@suse.com>
+
* testsuite/gas/i386/sse2-16bit.d,
testsuite/gas/i386/sse2-16bit.s: New.
testsuite/gas/i386/i386.exp: Run new test.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 3985756..8263b15 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -6386,9 +6386,7 @@ process_suffix (void)
else if (i.suffix != QWORD_MNEM_SUFFIX
&& !i.tm.opcode_modifier.ignoresize
&& !i.tm.opcode_modifier.floatmf
- && !i.tm.opcode_modifier.vex
- && !i.tm.opcode_modifier.vexopcode
- && !is_evex_encoding (&i.tm)
+ && !is_any_vex_encoding (&i.tm)
&& ((i.suffix == LONG_MNEM_SUFFIX) == (flag_code == CODE_16BIT)
|| (flag_code == CODE_64BIT
&& i.tm.opcode_modifier.jumpbyte)))