This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: drop stray CheckRegSize uses
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 14 Dec 2017 04:09:52 -0800
- Subject: Re: [PATCH] x86: drop stray CheckRegSize uses
- Authentication-results: sourceware.org; auth=none
- References: <5A30FBBD02000078001970E9@prv-mh.provo.novell.com>
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.