x86: don't open code is_any_vex_encoding()
authorJan Beulich <jbeulich@novell.com>
Tue, 25 Jun 2019 07:27:49 +0000 (09:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2019 07:35:17 +0000 (09:35 +0200)
gas/ChangeLog
gas/config/tc-i386.c

index 2e123630b92a58db5c8ce7abf691a9055013f9c5..d2175b6336451e627fb472fdd3c1c9adfa22d349 100644 (file)
@@ -1,3 +1,7 @@
+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,
index 39857561bdee412c57558a663626b6e5c767267d..8263b15d6de8db3ecb623f5bd9ae7495c5858377 100644 (file)
@@ -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)))