提交 50f90d7d 编写于 作者: K kvn

8002294: assert(VM_Version::supports_ssse3()) failed

Summary: Add missing UseSSE check for AES intrinsics.
Reviewed-by: roland, twisti
上级 e58e2880
...@@ -488,8 +488,8 @@ void VM_Version::get_processor_features() { ...@@ -488,8 +488,8 @@ void VM_Version::get_processor_features() {
} }
// The AES intrinsic stubs require AES instruction support (of course) // The AES intrinsic stubs require AES instruction support (of course)
// but also require AVX mode for misaligned SSE access // but also require AVX and sse3 modes for instructions it use.
if (UseAES && (UseAVX > 0)) { if (UseAES && (UseAVX > 0) && (UseSSE > 2)) {
if (FLAG_IS_DEFAULT(UseAESIntrinsics)) { if (FLAG_IS_DEFAULT(UseAESIntrinsics)) {
UseAESIntrinsics = true; UseAESIntrinsics = true;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册