218 if (UseSHA) {
219 warning("SHA instructions are not available on this CPU");
220 FLAG_SET_DEFAULT(UseSHA, false);
221 }
222
223 if (UseSHA1Intrinsics) {
224 warning("Intrinsics for SHA-1 crypto hash functions not available on this CPU.");
225 FLAG_SET_DEFAULT(UseSHA1Intrinsics, false);
226 }
227
228 if (UseSHA256Intrinsics) {
229 warning("Intrinsics for SHA-224 and SHA-256 crypto hash functions not available on this CPU.");
230 FLAG_SET_DEFAULT(UseSHA256Intrinsics, false);
231 }
232
233 if (UseSHA512Intrinsics) {
234 warning("Intrinsics for SHA-384 and SHA-512 crypto hash functions not available on this CPU.");
235 FLAG_SET_DEFAULT(UseSHA512Intrinsics, false);
236 }
237
238 if (UseCRC32Intrinsics) {
239 if (!FLAG_IS_DEFAULT(UseCRC32Intrinsics))
240 warning("CRC32 intrinsics are not available on this CPU");
241 FLAG_SET_DEFAULT(UseCRC32Intrinsics, false);
242 }
243
244 if (UseCRC32CIntrinsics) {
245 if (!FLAG_IS_DEFAULT(UseCRC32CIntrinsics))
246 warning("CRC32C intrinsics are not available on this CPU");
247 FLAG_SET_DEFAULT(UseCRC32CIntrinsics, false);
248 }
249
250 if (UseAdler32Intrinsics) {
251 warning("Adler32 intrinsics are not available on this CPU");
252 FLAG_SET_DEFAULT(UseAdler32Intrinsics, false);
253 }
254
255 if (UseVectorizedMismatchIntrinsic) {
256 warning("vectorizedMismatch intrinsic is not available on this CPU.");
257 FLAG_SET_DEFAULT(UseVectorizedMismatchIntrinsic, false);
|
218 if (UseSHA) {
219 warning("SHA instructions are not available on this CPU");
220 FLAG_SET_DEFAULT(UseSHA, false);
221 }
222
223 if (UseSHA1Intrinsics) {
224 warning("Intrinsics for SHA-1 crypto hash functions not available on this CPU.");
225 FLAG_SET_DEFAULT(UseSHA1Intrinsics, false);
226 }
227
228 if (UseSHA256Intrinsics) {
229 warning("Intrinsics for SHA-224 and SHA-256 crypto hash functions not available on this CPU.");
230 FLAG_SET_DEFAULT(UseSHA256Intrinsics, false);
231 }
232
233 if (UseSHA512Intrinsics) {
234 warning("Intrinsics for SHA-384 and SHA-512 crypto hash functions not available on this CPU.");
235 FLAG_SET_DEFAULT(UseSHA512Intrinsics, false);
236 }
237
238 if (UseSHA3Intrinsics) {
239 warning("Intrinsics for SHA3-224, SHA3-256, SHA3-384 and SHA3-512 crypto hash functions not available on this CPU.");
240 FLAG_SET_DEFAULT(UseSHA3Intrinsics, false);
241 }
242
243 if (UseCRC32Intrinsics) {
244 if (!FLAG_IS_DEFAULT(UseCRC32Intrinsics))
245 warning("CRC32 intrinsics are not available on this CPU");
246 FLAG_SET_DEFAULT(UseCRC32Intrinsics, false);
247 }
248
249 if (UseCRC32CIntrinsics) {
250 if (!FLAG_IS_DEFAULT(UseCRC32CIntrinsics))
251 warning("CRC32C intrinsics are not available on this CPU");
252 FLAG_SET_DEFAULT(UseCRC32CIntrinsics, false);
253 }
254
255 if (UseAdler32Intrinsics) {
256 warning("Adler32 intrinsics are not available on this CPU");
257 FLAG_SET_DEFAULT(UseAdler32Intrinsics, false);
258 }
259
260 if (UseVectorizedMismatchIntrinsic) {
261 warning("vectorizedMismatch intrinsic is not available on this CPU.");
262 FLAG_SET_DEFAULT(UseVectorizedMismatchIntrinsic, false);
|