8219151: Illegal instruction exception on JDK 12 due to incorrect CPU feature bits
Summary: fix wrong CPU feature bits set
Reviewed-by: kvn, neliasso
--- a/src/hotspot/cpu/x86/vm_version_x86.hpp Thu Feb 14 01:22:07 2019 +0100
+++ b/src/hotspot/cpu/x86/vm_version_x86.hpp Tue Feb 19 08:25:11 2019 -0800
@@ -336,7 +336,7 @@
#define CPU_AVX512_VPOPCNTDQ ((uint64_t)UCONST64(0x2000000000)) // Vector popcount
#define CPU_VPCLMULQDQ ((uint64_t)UCONST64(0x4000000000)) //Vector carryless multiplication
#define CPU_VAES ((uint64_t)UCONST64(0x8000000000)) // Vector AES instructions
-#define CPU_VNNI ((uint64_t)UCONST64(0x16000000000)) // Vector Neural Network Instructions
+#define CPU_VNNI ((uint64_t)UCONST64(0x10000000000)) // Vector Neural Network Instructions
enum Extended_Family {
// AMD