Implementation notes: amd64, comet, crypto_kem/hqc256round4

Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: hqc256round4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
253154172883 8 26121695727 876 263008T:avxclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
255753961037 8 26121683575 876 262944T:avxclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
284045788144 8 261280109860 796 263040T:avxgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
289087942722 8 26121662503 860 263008T:avxclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
315431147001 8 26121666183 876 262944T:avxclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
327955344147 8 26128063140 796 263040T:avxgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625

Test failure


error 111
crypto_kem_dec does not match k

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:avxgcc -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:
ImplementationCompiler
T:avxclang -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:
ImplementationCompiler
T:avxgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:avxgcc -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:
ImplementationCompiler
T:avxgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)