[GR-58215] Adapt JDK-8329254: optimize integral reverse operations on x86 GFNI target.

PullRequest: graal/19258
This commit is contained in:
Yudi Zheng 2024-11-08 00:25:05 +00:00
commit e002c8aeb6
1 changed files with 2 additions and 2 deletions

View File

@ -446,6 +446,8 @@ NO_INLINE static void set_cpufeatures(CPUFeatures *features, CpuidInfo *_cpuid_i
features->fAVX2 = 1;
if (_cpuid_info->sefsl1_cpuid7_eax.bits.avx_ifma != 0)
features->fAVX_IFMA = 1;
if (_cpuid_info->sef_cpuid7_ecx.bits.gfni != 0)
features->fGFNI = 1;
if (_cpuid_info->sef_cpuid7_ebx.bits.avx512f != 0 &&
_cpuid_info->xem_xcr0_eax.bits.opmask != 0 &&
_cpuid_info->xem_xcr0_eax.bits.zmm512 != 0 &&
@ -472,8 +474,6 @@ NO_INLINE static void set_cpufeatures(CPUFeatures *features, CpuidInfo *_cpuid_i
features->fAVX512_VPCLMULQDQ = 1;
if (_cpuid_info->sef_cpuid7_ecx.bits.vaes != 0)
features->fAVX512_VAES = 1;
if (_cpuid_info->sef_cpuid7_ecx.bits.gfni != 0)
features->fGFNI = 1;
if (_cpuid_info->sef_cpuid7_ecx.bits.avx512_vnni != 0)
features->fAVX512_VNNI = 1;
if (_cpuid_info->sef_cpuid7_ecx.bits.avx512_bitalg != 0)