This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86: don't open code is_any_vex_encoding()


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]