This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: don't open code is_any_vex_encoding()
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 24 Jun 2019 09:18:35 -0700
- Subject: Re: [PATCH] x86: don't open code is_any_vex_encoding()
- References: <5D10D282020000780023AA57@prv1-mh.provo.novell.com>
On Mon, Jun 24, 2019 at 6:39 AM Jan Beulich <JBeulich@suse.com> wrote:
>
> 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)))
>
>
OK.
Thanks.
--
H.J.