Implementation notes: amd64, h8bobcat, crypto_kem/hqc256round4
Computer: h8bobcat
Microarchitecture: amd64; Bobcat (500f10)
Architecture: amd64
CPU ID: AuthenticAMD-00500f20-178bfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: hqc256round4
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.0/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: 5, namely:
Implementation | Compiler |
T:avx | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:avx | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:avx | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:avx | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:avx | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
gf.c: gf.c: In function 'gf_mul_vect':
gf.c: gf.c:106:1: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
gf.c: 106 | __m256i gf_mul_vect(__m256i a, __m256i b) {
gf.c: | ^~~~~~~
gf.c: gf.c:106:9: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
gf.c: 106 | __m256i gf_mul_vect(__m256i a, __m256i b) {
gf.c: | ^~~~~~~~~~~
gf.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86gprintrin.h:41,
gf.c: from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:27,
gf.c: from gf.h:11,
gf.c: from gf.c:6:
gf.c: gf.c: In function 'gf_reduce':
gf.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/bmiintrin.h:38:1: error: inlining failed in call to 'always_inline' '__tzcnt_u16': target specific option mismatch
gf.c: 38 | __tzcnt_u16 (unsigned short __X)
gf.c: | ^~~~~~~~~~~
gf.c: gf.c:68:18: note: called from here
gf.c: 68 | z2 = __tzcnt_u16(rmdr);
gf.c: | ^~~~~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:avx | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:avx | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:avx | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:avx | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |