[PATCH 2/6] x86: simplify AVX checks in cpu_flags_match()
H.J. Lu
hjl.tools@gmail.com
Wed Mar 7 13:39:00 GMT 2018
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.
More information about the Binutils
mailing list