This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v3 6/6] x86: also optimize KXOR{D,Q} and KANDN{D,Q}
On Mon, Jul 30, 2018 at 1:46 AM, Jan Beulich <JBeulich@suse.com> wrote:
> These can be converted to 2-byte VEX encoding when both source registers
> are the same, by using KXORW / KANDNW as replacement.
>
> gas/
> 2018-07-30 Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (optimize_encoding): Also handle kandnd,
> kandnq, kxord, and kxorq.
> * testsuite/gas/i386/optimize-1.s: Add kandn and kxor tests.
> * testsuite/gas/i386/optimize-1.d,
> testsuite/gas/i386/optimize-4.d,
> testsuite/gas/i386/optimize-5.d: Adjust expectations.
>
> opcodes/
> 2018-07-30 Jan Beulich <jbeulich@suse.com>
>
> * i386-opc.tbl (kandnd, kandnq, kxord, kxorq): Add Optimize.
> * i386-init.h, i386-tbl.h: Re-generate.
OK. Thanks.
--
H.J.