[PATCH 1/6] x86: drop "mem" operand type attribute

H.J. Lu hjl.tools@gmail.com
Thu Aug 2 12:20:00 GMT 2018


On Wed, Aug 1, 2018 at 11:48 PM, Jan Beulich <JBeulich@suse.com> wrote:
> No template specifies this bit, so there's no point recording it in the
> templates. Use a flags[] bit instead.
>
> gas/
> 2018-08-02  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (Operand_Mem): Define.
>         (operand_size_match): Use it.
>         (check_VecOperands): Likewise.
>         (i386_att_operand): Likewise.
>         (swap_2_operands): Also swap flags fields.
>         * config/tc-i386-intel.c (i386_intel_operand): Likewise.
>
> opcodes/
> 2018-08-02  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-gen.c (operand_types): Remove Mem field.
>         * i386-opc.h (union i386_operand_type): Remove mem field.
>         * i386-init.h, i386-tbl.h: Re-generate.
>

OK.

Thanks.


-- 
H.J.



More information about the Binutils mailing list