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: also optimize zeroing-masking variants of insns


On Wed, Apr 25, 2018 at 5:23 AM, Jan Beulich <JBeulich@suse.com> wrote:
> When zeroing an element of a register it doesn't matter whether the zero
> results from the actual operation (xor, sub, or nand) or from the
> zeroing-masking taking effect due to a clear mask register bit.
>
> gas/
> 2018-04-25  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (optimize_encoding): Check for zeroing
>         masking.
>         * testsuite/gas/i386/optimize-1.d,
>         testsuite/gas/i386/optimize-4.d,
>         testsuite/gas/i386/optimize-5.d,
>         testsuite/gas/i386/x86-64-optimize-2.d,
>         testsuite/gas/i386/x86-64-optimize-5.d,
>         testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
>

OK.

Thanks.

-- 
H.J.


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