equal
deleted
inserted
replaced
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)) |