Implementation notes: amd64, comet, crypto_kem/hqc256round4
Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_kem
Primitive: hqc256round4
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
2531541 | 72883 8 261216 | 95727 876 263008 | T:avx | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240709 | 20240625 |
2557539 | 61037 8 261216 | 83575 876 262944 | T:avx | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240709 | 20240625 |
2840457 | 88144 8 261280 | 109860 796 263040 | T:avx | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240709 | 20240625 |
2890879 | 42722 8 261216 | 62503 860 263008 | T:avx | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240709 | 20240625 |
3154311 | 47001 8 261216 | 66183 876 262944 | T:avx | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240709 | 20240625 |
3279553 | 44147 8 261280 | 63140 796 263040 | T:avx | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240709 | 20240625 |
Test failure
error 111
crypto_kem_dec does not match k
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:avx | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:avx | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
gf.c: gf.c:91:19: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
gf.c: __m128i vab = _mm_clmulepi64_si128(va, vb, 0);
gf.c: ^
gf.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
gf.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
gf.c: ^
gf.c: 1 error generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:avx | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
reed_muller.c: reed_muller.c: In function 'find_peaks':
reed_muller.c: reed_muller.c:247:37: warning: 'tmp' is used uninitialized [-Wuninitialized]
reed_muller.c: 247 | result |= message_mask & ptr[i];
reed_muller.c: | ~~~^~~
reed_muller.c: reed_muller.c:208:13: note: 'tmp' was declared here
reed_muller.c: 208 | __m256i tmp = (__m256i) {0ULL, 0ULL, 0ULL, 0ULL};
reed_muller.c: | ^~~
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:avx | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:avx | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
reed_muller.c: reed_muller.c: In function 'find_peaks':
reed_muller.c: reed_muller.c:247:37: warning: 'tmp' is used uninitialized [-Wuninitialized]
reed_muller.c: 247 | result |= message_mask & ptr[i];
reed_muller.c: | ~~~^~~
reed_muller.c: reed_muller.c:208:13: note: 'tmp' declared here
reed_muller.c: 208 | __m256i tmp = (__m256i) {0ULL, 0ULL, 0ULL, 0ULL};
reed_muller.c: | ^~~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:avx | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |