@@ -4548,7 +4548,6 @@ GEN_THREEVEC_TEST(sha256su1_4s_4s_4s, "sha256su1 v29.4s, v28.4s, v27.4s",
4548
4548
4549
4549
int main ( void )
4550
4550
{
4551
- int i ;
4552
4551
assert (sizeof (V128 ) == 16 );
4553
4552
4554
4553
// ======================== FP ========================
@@ -7382,44 +7381,36 @@ int main ( void )
7382
7381
7383
7382
// ======================== CRYPTO ========================
7384
7383
7385
- // By default each test only runs once. That seems a bit too minimal
7386
- // for the crypto ones. So here's an extra run multiplication factor.
7387
- const int CRYPTO_ITER_MULTIPLIER = 10 ;
7388
-
7389
7384
// aesd 16b (aes single round decryption)
7390
7385
// aese 16b (aes single round encryption)
7391
7386
// aesimc 16b (aes inverse mix columns)
7392
7387
// aesmc 16b (aes mix columns)
7393
- if (1 ) for (i = 0 ; i < CRYPTO_ITER_MULTIPLIER ; i ++ )
7394
- test_aesd_16b_16b (TyNONE );
7395
- if (1 ) for (i = 0 ; i < CRYPTO_ITER_MULTIPLIER ; i ++ )
7396
- test_aese_16b_16b (TyNONE );
7397
- if (1 ) for (i = 0 ; i < CRYPTO_ITER_MULTIPLIER ; i ++ )
7398
- test_aesimc_16b_16b (TyNONE );
7399
- if (1 ) for (i = 0 ; i < CRYPTO_ITER_MULTIPLIER ; i ++ )
7400
- test_aesmc_16b_16b (TyNONE );
7388
+ if (1 ) DO50 ( test_aesd_16b_16b (TyNONE ) );
7389
+ if (1 ) DO50 ( test_aese_16b_16b (TyNONE ) );
7390
+ if (1 ) DO50 ( test_aesimc_16b_16b (TyNONE ) );
7391
+ if (1 ) DO50 ( test_aesmc_16b_16b (TyNONE ) );
7401
7392
7402
7393
// sha1c q_s_4s
7403
7394
// sha1h s_s
7404
7395
// sha1m q_s_4s
7405
7396
// sha1p q_s_4s
7406
7397
// sha1su0 4s_4s_4s
7407
7398
// sha1su1 4s_4s
7408
- if (0 ) test_sha1c_q_s_4s (TyNONE );
7409
- if (0 ) test_sha1h_s_s (TyNONE );
7410
- if (0 ) test_sha1m_q_s_4s (TyNONE );
7411
- if (0 ) test_sha1p_q_s_4s (TyNONE );
7412
- if (0 ) test_sha1su0_4s_4s_4s (TyNONE );
7413
- if (0 ) test_sha1su1_4s_4s (TyNONE );
7399
+ if (1 ) DO50 ( test_sha1c_q_s_4s (TyNONE ) );
7400
+ if (1 ) DO50 ( test_sha1h_s_s (TyNONE ) );
7401
+ if (1 ) DO50 ( test_sha1m_q_s_4s (TyNONE ) );
7402
+ if (1 ) DO50 ( test_sha1p_q_s_4s (TyNONE ) );
7403
+ if (1 ) DO50 ( test_sha1su0_4s_4s_4s (TyNONE ) );
7404
+ if (1 ) DO50 ( test_sha1su1_4s_4s (TyNONE ) );
7414
7405
7415
7406
// sha256h2 q_q_4s
7416
7407
// sha256h q_q_4s
7417
7408
// sha256su0 4s_4s
7418
7409
// sha256su1 4s_4s_4s
7419
- if (0 ) test_sha256h2_q_q_4s (TyNONE );
7420
- if (0 ) test_sha256h_q_q_4s (TyNONE );
7421
- if (0 ) test_sha256su0_4s_4s (TyNONE );
7422
- if (0 ) test_sha256su1_4s_4s_4s (TyNONE );
7410
+ if (1 ) DO50 ( test_sha256h2_q_q_4s (TyNONE ) );
7411
+ if (1 ) DO50 ( test_sha256h_q_q_4s (TyNONE ) );
7412
+ if (1 ) DO50 ( test_sha256su0_4s_4s (TyNONE ) );
7413
+ if (1 ) DO50 ( test_sha256su1_4s_4s_4s (TyNONE ) );
7423
7414
7424
7415
return 0 ;
7425
7416
}
0 commit comments