8002294: assert(VM_Version::supports_ssse3()) failed
Summary: Add missing UseSSE check for AES intrinsics.
Reviewed-by: roland, twisti
--- 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;
}