8219151: Illegal instruction exception on JDK 12 due to incorrect CPU feature bits jdk-12+33 jdk-12-ga
authorsviswanathan
Tue, 19 Feb 2019 08:25:11 -0800
changeset 53825 b67884871b5f
parent 53824 9bdf9858286f
child 53826 d3213547a767
child 53871 0276cba45aac
8219151: Illegal instruction exception on JDK 12 due to incorrect CPU feature bits Summary: fix wrong CPU feature bits set Reviewed-by: kvn, neliasso
src/hotspot/cpu/x86/vm_version_x86.hpp
--- 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