Mercurial > hg > truffle
diff src/cpu/x86/vm/vm_version_x86.cpp @ 6943:dbeaeee28bc2
8002294: assert(VM_Version::supports_ssse3()) failed
Summary: Add missing UseSSE check for AES intrinsics.
Reviewed-by: roland, twisti
author | kvn |
---|---|
date | Tue, 06 Nov 2012 09:22:55 -0800 |
parents | a3ecd773a7b9 |
children | e522a00b91aa cd3d6a6b95d9 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/vm_version_x86.cpp Fri Nov 02 12:30:46 2012 -0700 +++ b/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; }