This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/6] x86: simplify AVX checks in cpu_flags_match()
On Wed, Mar 7, 2018 at 5:02 AM, Jan Beulich <JBeulich@suse.com> wrote:
> No caller cares about the specifics of CPU_FLAGS_{AES,AVX,PCLMUL}_MATCH,
> so drop those and fold the nested if()-s.
>
> gas/
> 2018-03-07 Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
> CPU_FLAGS_PCLMUL_MATCH): Delete.
> (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
> (cpu_flags_match): Combine AVX checks into
> single if().
>
OK.
Thanks.
--
H.J.