[Page version: 20260402 14:02:08]
Measurements for amd64, know, crypto_encrypt Test results for amd64, know, crypto_encrypt Test results for crypto_encrypt/lotus128| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
|---|---|---|---|---|---|---|
| 322824 | 39017 0 8 | 80369 1384 2368 | T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 324633 | 33681 0 8 | 74537 1384 2304 | T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 339978 | 24161 0 8 | 64235 1328 2400 | T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 400607 | 11385 0 8 | 49239 1376 2368 | T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 414556 | 12674 0 8 | 50531 1328 2400 | T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 523211 | 34606 0 8 | 74667 1328 2400 | T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 624193 | 29027 0 8 | 69003 1328 2400 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1182176 | 39813 0 8 | 80945 1384 2304 | T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1225992 | 46909 0 8 | 88593 1384 2368 | T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1324191 | 46956 0 8 | 86801 1384 2304 | T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1351704 | 23749 0 8 | 64929 1384 2304 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1411333 | 28965 0 8 | 70505 1384 2368 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 1516997 | 31043 0 8 | 70753 1384 2304 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 2072257 | 16585 0 8 | 53449 1384 2304 | T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 2114201 | 10382 0 8 | 47587 1328 2400 | T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 2175242 | 13092 0 8 | 50915 1328 2400 | T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 2445772 | 11459 0 8 | 49343 1376 2368 | T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 3974157 | 9753 0 8 | 45939 1320 2400 | T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 3986173 | 14369 0 8 | 51777 1384 2304 | T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 4086825 | 8436 0 8 | 46295 1376 2368 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 4353842 | 9858 0 8 | 47089 1384 2304 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 4458124 | 8710 0 8 | 45915 1328 2400 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 4825675 | 10680 0 8 | 47955 1328 2400 | T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 4903955 | 9774 0 8 | 47579 1328 2400 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 6875315 | 9993 0 8 | 46155 1320 2400 | T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
| 7112584 | 7850 0 8 | 43939 1320 2400 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260316 | 20260217 |
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: 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: 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: 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: 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: 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: 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_14.0.6) |
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_14.0.6) |
| T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.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_14.0.6) |
| T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.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_14.0.6) |
| T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |