Mercurial > hg > graal-compiler
changeset 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 | 64672b22ef05 |
children | f3da5ff1514c |
files | src/cpu/x86/vm/vm_version_x86.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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; }