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: drop stray CheckRegSize uses


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.


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