8002294: assert(VM_Version::supports_ssse3()) failed
authorkvn
Tue, 06 Nov 2012 09:22:55 -0800
changeset 14394 c76096a5d82b
parent 14393 93a4dcdbebfd
child 14395 2395da512d6b
8002294: assert(VM_Version::supports_ssse3()) failed Summary: Add missing UseSSE check for AES intrinsics. Reviewed-by: roland, twisti
hotspot/src/cpu/x86/vm/vm_version_x86.cpp
--- a/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Fri Nov 02 12:30:46 2012 -0700
+++ b/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Tue Nov 06 09:22:55 2012 -0800
@@ -488,8 +488,8 @@
   }
 
   // The AES intrinsic stubs require AES instruction support (of course)
-  // but also require AVX mode for misaligned SSE access
-  if (UseAES && (UseAVX > 0)) {
+  // but also require AVX and sse3 modes for instructions it use.
+  if (UseAES && (UseAVX > 0) && (UseSSE > 2)) {
     if (FLAG_IS_DEFAULT(UseAESIntrinsics)) {
       UseAESIntrinsics = true;
     }