From 70987a9b5ea6dade6f87a5322c0506b3e5446ae2 Mon Sep 17 00:00:00 2001 From: "Jin,Zhonghui" Date: Tue, 5 Dec 2023 04:32:10 +0800 Subject: [PATCH] Add "_features &= ~CPU_VAES;" instead of "_features &= ~CPU_AVX512_VAES; --- src/hotspot/cpu/x86/vm_version_x86.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/cpu/x86/vm_version_x86.cpp b/src/hotspot/cpu/x86/vm_version_x86.cpp index 86aa293ff28..3dd8187031d 100644 --- a/src/hotspot/cpu/x86/vm_version_x86.cpp +++ b/src/hotspot/cpu/x86/vm_version_x86.cpp @@ -744,6 +744,7 @@ void VM_Version::get_processor_features() { if (is_knights_family()) { _features &= ~CPU_VZEROUPPER; _features &= ~CPU_AVX512DQ; + _features &= ~CPU_VAES; _features &= ~CPU_AVX512_VPOPCNTDQ; _features &= ~CPU_AVX512_VPCLMULQDQ; _features &= ~CPU_AVX512_VBMI;