hotspot/src/cpu/x86/vm/vm_version_x86.cpp
changeset 14834 f29c91f2f22b
parent 14626 0cf4eccf130f
child 15193 8e6b5694267f
child 15114 4074553c678b
equal deleted inserted replaced
14833:3c5e36997f11 14834:f29c91f2f22b
   487       warning("AES instructions not available on this CPU");
   487       warning("AES instructions not available on this CPU");
   488     FLAG_SET_DEFAULT(UseAES, false);
   488     FLAG_SET_DEFAULT(UseAES, false);
   489   }
   489   }
   490 
   490 
   491   // The AES intrinsic stubs require AES instruction support (of course)
   491   // The AES intrinsic stubs require AES instruction support (of course)
   492   // but also require AVX and sse3 modes for instructions it use.
   492   // but also require sse3 mode for instructions it use.
   493   if (UseAES && (UseAVX > 0) && (UseSSE > 2)) {
   493   if (UseAES && (UseSSE > 2)) {
   494     if (FLAG_IS_DEFAULT(UseAESIntrinsics)) {
   494     if (FLAG_IS_DEFAULT(UseAESIntrinsics)) {
   495       UseAESIntrinsics = true;
   495       UseAESIntrinsics = true;
   496     }
   496     }
   497   } else if (UseAESIntrinsics) {
   497   } else if (UseAESIntrinsics) {
   498     if (!FLAG_IS_DEFAULT(UseAESIntrinsics))
   498     if (!FLAG_IS_DEFAULT(UseAESIntrinsics))