[Page version: 20250420 15:13:24]
Measurements for amd64, like, crypto_encrypt Test results for amd64, like, crypto_encrypt Test results for crypto_encrypt/lotus128Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
---|---|---|---|---|---|---|
330692 | 40266 0 8 | 70849 932 1800 | T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
339023 | 23690 0 8 | 52368 908 1832 | T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
363064 | 12555 0 8 | 39280 908 1832 | T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
368222 | 35786 0 8 | 66273 932 1800 | T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
395757 | 11356 0 8 | 38419 924 1800 | T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
501877 | 34295 0 8 | 63056 908 1832 | T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
628948 | 28431 0 8 | 57000 908 1832 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
1231083 | 42186 0 8 | 73058 932 1800 | T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
1274330 | 47404 0 8 | 78178 932 1800 | T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
1324829 | 24254 0 8 | 55002 932 1800 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
1338496 | 44432 0 8 | 77082 932 1736 | T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
1531930 | 28095 0 8 | 60674 932 1736 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2138991 | 13862 0 8 | 40688 908 1832 | T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2145721 | 10630 0 8 | 37288 908 1832 | T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2165481 | 16631 0 8 | 42377 932 1736 | T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2371312 | 11436 0 8 | 38523 924 1800 | T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
3859721 | 9688 0 8 | 35072 900 1800 | T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
3887864 | 10288 0 8 | 36960 908 1832 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
3893754 | 14529 0 8 | 40746 932 1736 | T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
4213342 | 9754 0 8 | 35810 932 1736 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
4256548 | 11958 0 8 | 38680 908 1832 | T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
4290931 | 8388 0 8 | 35491 924 1800 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
4485942 | 9774 0 8 | 36376 908 1832 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
6309983 | 7836 0 8 | 33072 900 1800 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
6535600 | 9977 0 8 | 35288 900 1800 | T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
error 111 crypto_encrypt_open returns nonzero
Implementation | Compiler |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:158:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: 158 | c[0] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: | ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:158:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:159:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: 159 | c[1] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: | ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:159:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:160:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: 160 | c[2] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: | ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:160:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:161:12: error: always_inline function '_mm256_setzero_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: 161 | c[3] = _mm256_setzero_si256(); lwe-arithmetics_avx2.c: | ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:161:12: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:164:11: error: always_inline function '_mm256_set1_epi16' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: 164 | a = _mm256_set1_epi16(A[j]); lwe-arithmetics_avx2.c: | ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:164:11: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:165:14: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: 165 | b[0] = _mm256_loadu_si256((__m256i*)(p)); lwe-arithmetics_avx2.c: | ^ lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:165:14: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI lwe-arithmetics_avx2.c: lwe-arithmetics_avx2.c:166:14: error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'submat_negmul' that is compiled without support for 'avx' lwe-arithmetics_avx2.c: ...
Implementation | Compiler |
T:avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
cpa-pke_opt.o lotus_cpa_pke_dec_packed T cpa-pke_opt.o lotus_cpa_pke_enc_packed T cpa-pke_opt.o lotus_cpa_pke_keypair T crypto.o crypto_symenc_decrypt T crypto.o crypto_symenc_encrypt T crypto.o crypto_symenc_keysetup T crypto.o crypto_symenc_keystream T crypto.o crypto_symenc_keystream_13block T crypto.o crypto_symenc_keystream_32block T encrypt.o util_cmp_const T lwe-arithmetics_avx2.o add_sigma T lwe-arithmetics_avx2.o distribute_2x2_nl T lwe-arithmetics_avx2.o distribute_2x2_nn T lwe-arithmetics_avx2.o merge_2x2_nl T lwe-arithmetics_avx2.o reconstruct T lwe-arithmetics_avx2.o redc T lwe-arithmetics_avx2.o submat_add_nl T lwe-arithmetics_avx2.o submat_add_nn T lwe-arithmetics_avx2.o submat_negmul T lwe-arithmetics_avx2.o submat_negsubmul T lwe-arithmetics_avx2.o submat_sub_nl T lwe-arithmetics_avx2.o submat_sub_nn T lwe-arithmetics_avx2.o submat_submul T lwe-arithmetics_avx2.o submul T pack_avx2.o pack_128dg T pack_avx2.o pack_128elems T pack_avx2.o pack_64elems T pack_avx2.o pack_ct T pack_avx2.o pack_pk T pack_avx2.o pack_sk T pack_avx2.o unpack_128dg T pack_avx2.o unpack_128elems T pack_avx2.o unpack_64elems T pack_avx2.o unpack_ct T pack_avx2.o unpack_pk T pack_avx2.o unpack_sk T sampler.o _LOTUS_KYDG_SAMPLER_L1_pMat R sampler.o _LOTUS_KYDG_SAMPLER_L1_weight R sampler.o _LOTUS_KYDG_SAMPLER_LUT R sampler.o csprng_sample_bit T sampler.o csprng_sample_byte T sampler.o extend_sign_with_random_bit T sampler.o sample_discrete_gaussian T sampler.o sample_uniform T sampler.o sample_unit_discrete_gaussian T sampler.o sampler_init T sampler.o sampler_set_seed T sampler.o scan_bit_and_output T
Implementation | Compiler |
T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
cpa-pke_opt.o lotus_cpa_pke_dec_packed T cpa-pke_opt.o lotus_cpa_pke_enc_packed T cpa-pke_opt.o lotus_cpa_pke_keypair T crypto.o crypto_symenc_decrypt T crypto.o crypto_symenc_encrypt T crypto.o crypto_symenc_keysetup T crypto.o crypto_symenc_keystream T crypto.o crypto_symenc_keystream_13block T crypto.o crypto_symenc_keystream_32block T encrypt.o util_cmp_const T lwe-arithmetics_opt.o add_sigma T lwe-arithmetics_opt.o distribute_2x2_nl T lwe-arithmetics_opt.o distribute_2x2_nn T lwe-arithmetics_opt.o merge_2x2_nl T lwe-arithmetics_opt.o reconstruct T lwe-arithmetics_opt.o redc T lwe-arithmetics_opt.o submat_add_nl T lwe-arithmetics_opt.o submat_add_nn T lwe-arithmetics_opt.o submat_negmul T lwe-arithmetics_opt.o submat_negsubmul T lwe-arithmetics_opt.o submat_sub_nl T lwe-arithmetics_opt.o submat_sub_nn T lwe-arithmetics_opt.o submat_submul T lwe-arithmetics_opt.o submul T pack.o pack_128dg T pack.o pack_128elems T pack.o pack_64elems T pack.o pack_ct T pack.o pack_pk T pack.o pack_sk T pack.o unpack_128dg T pack.o unpack_128elems T pack.o unpack_64elems T pack.o unpack_ct T pack.o unpack_pk T pack.o unpack_sk T sampler.o _LOTUS_KYDG_SAMPLER_L1_pMat R sampler.o _LOTUS_KYDG_SAMPLER_L1_weight R sampler.o _LOTUS_KYDG_SAMPLER_LUT R sampler.o csprng_sample_bit T sampler.o csprng_sample_byte T sampler.o extend_sign_with_random_bit T sampler.o sample_discrete_gaussian T sampler.o sample_uniform T sampler.o sample_unit_discrete_gaussian T sampler.o sampler_init T sampler.o sampler_set_seed T sampler.o scan_bit_and_output T
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
cpa-pke.o lotus_cpa_pke_dec T cpa-pke.o lotus_cpa_pke_enc T cpa-pke.o lotus_cpa_pke_keypair T crypto.o crypto_symenc_decrypt T crypto.o crypto_symenc_encrypt T crypto.o crypto_symenc_keysetup T crypto.o crypto_symenc_keystream T encrypt.o util_cmp_const T lwe-arithmetics.o add_sigma T lwe-arithmetics.o addmul T lwe-arithmetics.o addmul_concat T lwe-arithmetics.o reconstruct T lwe-arithmetics.o redc T lwe-arithmetics.o submul T pack.o pack_128dg T pack.o pack_128elems T pack.o pack_64elems T pack.o pack_ct T pack.o pack_pk T pack.o pack_sk T pack.o unpack_128dg T pack.o unpack_128elems T pack.o unpack_64elems T pack.o unpack_ct T pack.o unpack_pk T pack.o unpack_sk T sampler.o _LOTUS_KYDG_SAMPLER_L1_pMat R sampler.o _LOTUS_KYDG_SAMPLER_L1_weight R sampler.o _LOTUS_KYDG_SAMPLER_LUT R sampler.o csprng_sample_bit T sampler.o csprng_sample_byte T sampler.o extend_sign_with_random_bit T sampler.o sample_discrete_gaussian T sampler.o sample_uniform T sampler.o sample_unit_discrete_gaussian T sampler.o sampler_init T sampler.o sampler_set_seed T sampler.o scan_bit_and_output T
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |