Mercurial > hg > truffle
diff src/cpu/x86/vm/vm_version_x86.cpp @ 7427:2c7f594145dc
8004835: Improve AES intrinsics on x86
Summary: Enable AES intrinsics on non-AVX cpus, group together aes instructions in crypto stubs.
Reviewed-by: roland, twisti
author | kvn |
---|---|
date | Wed, 19 Dec 2012 15:40:35 -0800 |
parents | cd3d6a6b95d9 |
children | 00af3a3a8df4 4a916f2ce331 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/vm_version_x86.cpp Wed Dec 19 14:44:00 2012 -0800 +++ b/src/cpu/x86/vm/vm_version_x86.cpp Wed Dec 19 15:40:35 2012 -0800 @@ -489,8 +489,8 @@ } // The AES intrinsic stubs require AES instruction support (of course) - // but also require AVX and sse3 modes for instructions it use. - if (UseAES && (UseAVX > 0) && (UseSSE > 2)) { + // but also require sse3 mode for instructions it use. + if (UseAES && (UseSSE > 2)) { if (FLAG_IS_DEFAULT(UseAESIntrinsics)) { UseAESIntrinsics = true; }