This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86-64: also optimize ANDQ with immediate fitting in 7 bits
- 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: Mon, 24 Jun 2019 09:34:37 -0700
- Subject: Re: [PATCH] x86-64: also optimize ANDQ with immediate fitting in 7 bits
- References: <5D10C8A8020000780023AA0F@prv1-mh.provo.novell.com>
On Mon, Jun 24, 2019 at 5:57 AM Jan Beulich <JBeulich@suse.com> wrote:
>
> The same reasoning applies here as did/does for immediates fitting in
> 31 bits.
>
> gas/
> 2019-06-24 Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (optimize_encoding): Also handle ANDQ with
> immediatie fitting in 7 bits.
> * testsuite/gas/i386/x86-64-optimize-1.s: Add ANDQ cases with
> 7- and 8-bit immediates.
> * testsuite/gas/i386/x86-64-optimize-1.d: Adjust expectations.
>
> opcodes/
> 2019-06-24 Jan Beulich <jbeulich@suse.com>
>
> * i386-opc.tbl (and): Mark Imm8S form for optimization.
> * i386-tbl.h: Re-generate.
>
OK.
Thanks.
--
H.J.