--- a/hotspot/src/cpu/x86/vm/vm_version_x86.cpp Wed Jan 06 08:02:23 2016 +0100
+++ b/hotspot/src/cpu/x86/vm/vm_version_x86.cpp Thu Jan 07 14:29:05 2016 -0800
@@ -671,7 +671,7 @@
}
// --AES-CTR ends--
}
- } else if (UseAES || UseAESIntrinsics) {
+ } else if (UseAES || UseAESIntrinsics || UseAESCTRIntrinsics) {
if (UseAES && !FLAG_IS_DEFAULT(UseAES)) {
warning("AES instructions are not available on this CPU");
FLAG_SET_DEFAULT(UseAES, false);
@@ -707,16 +707,6 @@
FLAG_SET_DEFAULT(UseCRC32Intrinsics, false);
}
- if (UseAESIntrinsics) {
- if (FLAG_IS_DEFAULT(UseAESCTRIntrinsics)) {
- UseAESCTRIntrinsics = true;
- }
- } else if (UseAESCTRIntrinsics) {
- if (!FLAG_IS_DEFAULT(UseAESCTRIntrinsics))
- warning("AES/CTR intrinsics are not available on this CPU");
- FLAG_SET_DEFAULT(UseAESCTRIntrinsics, false);
- }
-
if (supports_sse4_2()) {
if (FLAG_IS_DEFAULT(UseCRC32CIntrinsics)) {
UseCRC32CIntrinsics = true;