Implementation notes: amd64, comet, crypto_kem/hqc192round4

Computer: comet
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: hqc192round4
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
131289552179 8 14700874679 876 148736T:avxclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
132391464110 8 14700886879 876 148800T:avxclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
145934980027 8 147072101764 796 148832T:avxgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
150741033546 8 14700853351 860 148800T:avxclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
163887437844 8 14700857055 876 148736T:avxclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070920240625
171081534448 8 14707253484 796 148832T: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)