[Page version: 20251122 17:18:58]
Measurements for amd64, like, crypto_encrypt Test results for amd64, like, crypto_encrypt Test results for crypto_encrypt/lotus128| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
|---|---|---|---|---|---|---|
| 343584 | 23690 0 8 | 52544 908 1832 | T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 360182 | 12555 0 8 | 39456 908 1832 | T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 366433 | 40266 0 8 | 70993 932 1800 | T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 373258 | 35786 0 8 | 66449 932 1800 | T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 405183 | 11356 0 8 | 38563 924 1800 | T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 522662 | 34295 0 8 | 63232 908 1832 | T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 652584 | 28431 0 8 | 57176 908 1832 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 1191753 | 42186 0 8 | 73234 932 1800 | T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 1260467 | 47404 0 8 | 78322 932 1800 | T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 1337049 | 44432 0 8 | 77258 932 1736 | T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 1350348 | 24254 0 8 | 55146 932 1800 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 1547774 | 28095 0 8 | 60850 932 1736 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 2079322 | 16631 0 8 | 42521 932 1736 | T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 2138883 | 13862 0 8 | 40864 908 1832 | T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 2151933 | 10630 0 8 | 37464 908 1832 | T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 2341102 | 11436 0 8 | 38699 924 1800 | T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 3862483 | 9688 0 8 | 35216 900 1800 | T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 3894456 | 10288 0 8 | 37136 908 1832 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 3901678 | 14529 0 8 | 40922 932 1736 | T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 4212623 | 9754 0 8 | 35986 932 1736 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 4256256 | 11958 0 8 | 38856 908 1832 | T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 4378734 | 9774 0 8 | 36552 908 1832 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 4422753 | 8388 0 8 | 35667 924 1800 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 6327641 | 7836 0 8 | 33216 900 1800 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
| 6575825 | 9977 0 8 | 35432 900 1800 | T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251121 | 20251114 |
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+b1)) |
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+b1)) |
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_19.1.7_(3+b1)) |
| T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| 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_19.1.7_(3+b1)) |
| T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| 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+b1)) |
| 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_19.1.7_(3+b1)) |
| 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+b1)) |
| 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) |