mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
x86: Add BMI1/BMI2 checks for ISA_V3 check
BMI1/BMI2 are part of the ISA V3 requirements: https://en.wikipedia.org/wiki/X86-64 And defined by GCC when building with `-march=x86-64-v3`
This commit is contained in:
parent
4ef05df5ef
commit
8da9f346cb
@ -47,7 +47,8 @@
|
||||
# endif
|
||||
|
||||
# if ISA_V2 && defined __AVX__ && defined __AVX2__ && defined __F16C__ \
|
||||
&& defined __FMA__ && defined __LZCNT__ && defined HAVE_X86_MOVBE
|
||||
&& defined __FMA__ && defined __LZCNT__ && defined HAVE_X86_MOVBE \
|
||||
&& defined __BMI__ && defined __BMI2__
|
||||
/* NB: ISAs in x86-64 ISA level v3 are used. */
|
||||
# define ISA_V3 GNU_PROPERTY_X86_ISA_1_V3
|
||||
# else
|
||||
|
Loading…
Reference in New Issue
Block a user