This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] x86: don't open code is_any_vex_encoding()
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: <binutils at sourceware dot org>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Mon, 24 Jun 2019 07:39:14 -0600
- Subject: [PATCH] x86: don't open code is_any_vex_encoding()
gas/
2019-06-24 Jan Beulich <jbeulich@suse.com>
* tc-i386.c (process_suffix): Use is_any_vex_encoding().
--- 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)))