[PATCH] x86: drop {,reg16_}inoutportreg variables

H.J. Lu hjl.tools@gmail.com
Tue Jul 10 14:02:00 GMT 2018
On Tue, Jul 10, 2018 at 6:34 AM, Jan Beulich <JBeulich@suse.com> wrote:
> The checking against reg16_inoutportreg can be had with a simple test of
> a bit, and the value setting from inoutportreg can be replaced by using
> the actual register's reg_type field.
>
> Note that the so far redundant 2nd instance of OPERAND_TYPE_INOUTPORTREG
> is left in place, for its use in type_names[].
>
> gas/
> 2018-07-10  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (inoutportreg, reg16_inoutportreg): Delete.
>         (i386_att_operand): Replace uses of reg16_inoutportreg and
>         inoutportreg.
>
> opcodes/
> 2018-07-10  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-gen.c (operand_type_init): Remove
>         OPERAND_TYPE_REG16_INOUTPORTREG entry and one instance of
>         OPERAND_TYPE_INOUTPORTREG.
>         * i386-init.h: Re-generate.
>

OK.

Thanks.


-- 
H.J.



More information about the Binutils mailing list