< prev index next >

src/hotspot/cpu/x86/vm_version_x86.hpp

Print this page

        

*** 343,352 **** --- 343,354 ---- #define CPU_VNNI ((uint64_t)UCONST64(0x10000000000)) // Vector Neural Network Instructions #define CPU_FLUSH ((uint64_t)UCONST64(0x20000000000)) // flush instruction #define CPU_FLUSHOPT ((uint64_t)UCONST64(0x40000000000)) // flushopt instruction #define CPU_CLWB ((uint64_t)UCONST64(0x80000000000)) // clwb instruction + #define CPU_VBMI2 ((uint64_t)UCONST64(0x100000000000)) // VBMI2 shift left double instructions + enum Extended_Family { // AMD CPU_FAMILY_AMD_11H = 0x11, // ZX
*** 565,574 **** --- 567,578 ---- result |= CPU_AVX512_VPCLMULQDQ; if (_cpuid_info.sef_cpuid7_ecx.bits.vaes != 0) result |= CPU_VAES; if (_cpuid_info.sef_cpuid7_ecx.bits.avx512_vnni != 0) result |= CPU_VNNI; + if (_cpuid_info.sef_cpuid7_ecx.bits.avx512_vbmi2 != 0) + result |= CPU_VBMI2; } } if (_cpuid_info.sef_cpuid7_ebx.bits.bmi1 != 0) result |= CPU_BMI1; if (_cpuid_info.std_cpuid1_edx.bits.tsc != 0)
*** 856,865 **** --- 860,870 ---- static bool supports_vzeroupper() { return (_features & CPU_VZEROUPPER) != 0; } static bool supports_vpopcntdq() { return (_features & CPU_AVX512_VPOPCNTDQ) != 0; } static bool supports_avx512_vpclmulqdq() { return (_features & CPU_AVX512_VPCLMULQDQ) != 0; } static bool supports_vaes() { return (_features & CPU_VAES) != 0; } static bool supports_vnni() { return (_features & CPU_VNNI) != 0; } + static bool supports_vbmi2() { return (_features & CPU_VBMI2) != 0; } // Intel features static bool is_intel_family_core() { return is_intel() && extended_cpu_family() == CPU_FAMILY_INTEL_CORE; }
< prev index next >