[PATCH] x86: drop stray CheckRegSize uses

H.J. Lu hjl.tools@gmail.com
Thu Dec 14 12:09:00 GMT 2017


On Wed, Dec 13, 2017 at 1:06 AM, Jan Beulich <JBeulich@suse.com> wrote:
> They are relevant only when multiple operands permit registers:
> operand_type_register_match() returns true if either operand is not a
> register one. IOW
>
> grep -i CheckRegSize i386-opc.tbl | grep -Ev "(Reg[8136]|Acc).*,.*(Reg|Acc)"
>
> should produce no output.
>
> gas/
> 2017-12-13  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-opc.tbl (adc, add, and, cmp, cmps, in, ins, lods, mov,
>         movabs, movq, movs, or, out, outs, ptwrite, rcl, rcr, rol, ror,
>         sal, sar, sbb, scas, scmp, shl, shr, slod, smov, ssca, ssto,
>         stos, sub, test, xor): Drop CheckRegSize from variants not
>         allowing for two (or more) register operands.
>         * i386-tbl.h: Re-generate.
>

OK.

Thanks.


-- 
H.J.



More information about the Binutils mailing list