Test results for amd64, hertz, crypto_kem/hqc1922
[Page version: 20241028 01:32:29]
Measurements for amd64, hertz, crypto_kem
Test results for amd64, hertz, crypto_kem
Test results for crypto_kem/hqc1922
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20241022
Operation: crypto_kem
Primitive: hqc1922
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
2086725 | 53517 0 52 | 82963 924 1928 | T:opt | cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
3145896 | 11389 0 52 | 37291 916 1832 | T:opt | cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
3239889 | 53665 8 52 | 1751065 3388 6792 | T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
3288377 | 35115 8 52 | 1734543 3404 6728 | T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
3295626 | 34735 8 52 | 1734159 3404 6728 | T:ref | clang++ -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
3746451 | 12063 8 52 | 1708159 3388 6728 | T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
4008091 | 11509 8 52 | 1705568 3380 6696 | T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241025 | 20241022 |
Compiler output
rng.c: rng.c: In function 'AES256_ECB':
rng.c: rng.c:123:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c: 123 | int ciphertext_len;
rng.c: | ^~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:opt | cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:opt | cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
gf2x_avx2.c: gf2x_avx2.c:87:19: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration]
gf2x_avx2.c: 87 | rightVector = __builtin_shuffle(
gf2x_avx2.c: | ^
gf2x_avx2.c: gf2x_avx2.c:87:17: error: assigning to 'v8uint32' (vector of 8 'uint32_t' values) from incompatible type 'int'
gf2x_avx2.c: 87 | rightVector = __builtin_shuffle(
gf2x_avx2.c: | ^ ~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: 88 | previousVector, currentVector, rightPerm);
gf2x_avx2.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: gf2x_avx2.c:89:16: error: assigning to 'v8uint32' (vector of 8 'uint32_t' values) from incompatible type 'int'
gf2x_avx2.c: 89 | leftVector = __builtin_shuffle(
gf2x_avx2.c: | ^ ~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: 90 | previousVector, currentVector, leftPerm);
gf2x_avx2.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf2x_avx2.c: 3 errors generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:opt | clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
Compiler output
rng.c: clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
rng.c: rng.c:123:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c: 123 | int ciphertext_len;
rng.c: | ^
rng.c: 1 warning generated.
bch.cpp: bch.cpp:104:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
bch.cpp: 104 | unsigned char tmp[g_bytes_size];
bch.cpp: | ^~~~~~~~~~~~
bch.cpp: bch.cpp:104:21: note: read of non-const variable 'g_bytes_size' is not allowed in a constant expression
bch.cpp: bch.cpp:103:11: note: declared here
bch.cpp: 103 | uint8_t g_bytes_size = (PARAM_G / 8) + 1;
bch.cpp: | ^
bch.cpp: 1 warning generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
T:ref | clang++ -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1)) |
Compiler output
rng.c: rng.c: In function 'int seedexpander(AES_XOF_struct*, unsigned char*, long unsigned int)':
rng.c: rng.c:75:19: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
rng.c: 75 | if ( xlen <= (16-ctx->buffer_pos) ) { // buffer has what we need
rng.c: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rng.c: rng.c: In function 'void AES256_ECB(unsigned char*, unsigned char*, unsigned char*)':
rng.c: rng.c:123:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c: 123 | int ciphertext_len;
rng.c: | ^~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
bch.o array_to_codeword T
bch.o bch_code_decode T
bch.o bch_code_encode T
bch.o chien_search T
bch.o compute_generator_poly T
bch.o cyclotomic_clear T
bch.o cyclotomic_gen T
bch.o cyclotomic_init T
bch.o error_poly_gen T
bch.o get_error_location_poly T
bch.o get_generator_poly T
bch.o gf_generation T
bch.o gf_get_antilog T
bch.o gf_get_log T
bch.o gf_mod T
bch.o gf_mult T
bch.o gf_tables_clear T
bch.o gf_tables_init T
bch.o lfsr_encoder T
bch.o message_from_codeword T
bch.o message_to_array T
bch.o polynomial_hex T
bch.o sigma_poly_clear T
bch.o sigma_poly_copy T
bch.o sigma_poly_init T
bch.o syndrome_clear T
bch.o syndrome_gen T
bch.o syndrome_init T
gf2x_avx2.o shiftXor T
gf2x_avx2.o sparse_dense_mul T
gf2x_avx2.o vect_sparse_from_bytes T
hqc.o hqc_pke_decrypt T
hqc.o hqc_pke_encrypt T
hqc.o hqc_pke_keygen T
parsing.o hqc_ciphertext_from_string T
parsing.o hqc_ciphertext_to_string T
parsing.o hqc_public_key_from_string T
parsing.o hqc_public_key_to_string T
parsing.o hqc_secret_key_from_string T
parsing.o hqc_secret_key_to_string T
repetition.o array_to_rep_codeword T
repetition.o repetition_code_decode T
repetition.o repetition_code_encode T
rng.o AES256_ECB T
rng.o DRBG_ctx B
rng.o handleErrors T
rng.o seedexpander T
rng.o seedexpander_init T
tensor.o tensor_code_decode T
tensor.o tensor_code_encode T
vector.o vect_add T
vector.o vect_compare T
vector.o vect_fixed_weight T
vector.o vect_print T
vector.o vect_resize T
vector.o vect_set_random T
vector.o vect_set_random_from_randombytes T
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:opt | cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:opt | cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |