From a38d71189b5895bae7bb476aa34d8a7ba75376d6 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 25 Jun 2019 09:27:49 +0200 Subject: [PATCH] x86: don't open code is_any_vex_encoding() --- gas/ChangeLog | 4 ++++ gas/config/tc-i386.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2e123630b92..d2175b63364 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2019-06-25 Jan Beulich + + * tc-i386.c (process_suffix): Use is_any_vex_encoding(). + 2019-06-25 Jan Beulich * testsuite/gas/i386/sse2-16bit.d, diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 39857561bde..8263b15d6de 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))) -- 2.30.2