mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 18:40:57 +08:00
x86: Update VPCLMULQDQ check
Update VPCLMULQDQ check to support processors with AVX version of VPCLMULQDQ. PR target/91695 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ check.
This commit is contained in:
parent
2033e41b92
commit
1e46a443f2
@ -346,6 +346,8 @@ get_available_features (unsigned int ecx, unsigned int edx,
|
||||
{
|
||||
if (ebx & bit_AVX2)
|
||||
set_feature (FEATURE_AVX2);
|
||||
if (ecx & bit_VPCLMULQDQ)
|
||||
set_feature (FEATURE_VPCLMULQDQ);
|
||||
}
|
||||
if (ebx & bit_BMI2)
|
||||
set_feature (FEATURE_BMI2);
|
||||
@ -373,8 +375,6 @@ get_available_features (unsigned int ecx, unsigned int edx,
|
||||
set_feature (FEATURE_AVX512VBMI);
|
||||
if (ecx & bit_AVX512VBMI2)
|
||||
set_feature (FEATURE_AVX512VBMI2);
|
||||
if (ecx & bit_VPCLMULQDQ)
|
||||
set_feature (FEATURE_VPCLMULQDQ);
|
||||
if (ecx & bit_AVX512VNNI)
|
||||
set_feature (FEATURE_AVX512VNNI);
|
||||
if (ecx & bit_AVX512BITALG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user