Implementation notes: amd64, gcc14, crypto_kem/hqc192

Computer: gcc14
Architecture: amd64
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20220506
Operation: crypto_kem
Primitive: hqc192

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
bch.c: bch.c:291:7: error: always_inline function '_mm256_set1_epi32' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: y = _mm256_set1_epi32(*aux);
bch.c: ^
bch.c: bch.c:294:7: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: y = _mm256_shuffle_epi8(y, mask_one);
bch.c: ^
bch.c: bch.c:296:15: error: always_inline function '_mm256_and_si256' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: z[i >> 2] = _mm256_and_si256(y, mask_two);
bch.c: ^
bch.c: bch.c:306:17: error: always_inline function '_mm256_set1_epi64x' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: tmp_repeat = _mm256_set1_epi64x((long long)(tmp_array[i]!=0));
bch.c: ^
bch.c: bch.c:307:8: error: always_inline function '_mm256_cmpeq_epi64' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: L = _mm256_cmpeq_epi64(tmp_repeat,un_256);
bch.c: ^
bch.c: bch.c:308:17: error: always_inline function '_mm256_lddqu_si256' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: tmp_repeat = _mm256_lddqu_si256((__m256i *)(alpha_tmp + i * (PARAM_DELTA << 1)));
bch.c: ^
bch.c: bch.c:309:8: error: always_inline function '_mm256_and_si256' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: L = _mm256_and_si256(L,tmp_repeat);
bch.c: ^
bch.c: bch.c:310:8: error: always_inline function '_mm256_xor_si256' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: S = _mm256_xor_si256(L,S);
bch.c: ^
bch.c: bch.c:312:3: error: always_inline function '_mm256_storeu_si256' requires target feature 'xsave', but would be inlined into function 'compute_syndromes' that is compiled without support for 'xsave'
bch.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
bch.c: bch.c:291:7: error: always_inline function '_mm256_set1_epi32' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: y = _mm256_set1_epi32(*aux);
bch.c: ^
bch.c: bch.c:294:7: error: always_inline function '_mm256_shuffle_epi8' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: y = _mm256_shuffle_epi8(y, mask_one);
bch.c: ^
bch.c: bch.c:296:15: error: always_inline function '_mm256_and_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: z[i >> 2] = _mm256_and_si256(y, mask_two);
bch.c: ^
bch.c: bch.c:306:17: error: always_inline function '_mm256_set1_epi64x' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: tmp_repeat = _mm256_set1_epi64x((long long)(tmp_array[i]!=0));
bch.c: ^
bch.c: bch.c:307:8: error: always_inline function '_mm256_cmpeq_epi64' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: L = _mm256_cmpeq_epi64(tmp_repeat,un_256);
bch.c: ^
bch.c: bch.c:308:17: error: always_inline function '_mm256_lddqu_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: tmp_repeat = _mm256_lddqu_si256((__m256i *)(alpha_tmp + i * (PARAM_DELTA << 1)));
bch.c: ^
bch.c: bch.c:309:8: error: always_inline function '_mm256_and_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: L = _mm256_and_si256(L,tmp_repeat);
bch.c: ^
bch.c: bch.c:310:8: error: always_inline function '_mm256_xor_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: S = _mm256_xor_si256(L,S);
bch.c: ^
bch.c: bch.c:312:3: error: always_inline function '_mm256_storeu_si256' requires target feature 'sse4.2', but would be inlined into function 'compute_syndromes' that is compiled without support for 'sse4.2'
bch.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx

Compiler output

Implementation: T:avx
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bch.c: bch.c: In function 'compute_syndromes':
bch.c: bch.c:291:5: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
bch.c: y = _mm256_set1_epi32(*aux);
bch.c: ~~^~~~~~~~~~~~~~~~~~~~~~~~~
bch.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:43:0,
bch.c: from bch.c:14:
bch.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avx2intrin.h:179:1: error: inlining failed in call to always_inline '_mm256_and_si256': target specific option mismatch
bch.c: _mm256_and_si256 (__m256i __A, __m256i __B)
bch.c: ^~~~~~~~~~~~~~~~
bch.c: bch.c:296:15: note: called from here
bch.c: z[i >> 2] = _mm256_and_si256(y, mask_two);
bch.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bch.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:43:0,
bch.c: from bch.c:14:
bch.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avx2intrin.h:588:1: error: inlining failed in call to always_inline '_mm256_shuffle_epi8': target specific option mismatch
bch.c: _mm256_shuffle_epi8 (__m256i __X, __m256i __Y)
bch.c: ^~~~~~~~~~~~~~~~~~~
bch.c: bch.c:294:5: note: called from here
bch.c: y = _mm256_shuffle_epi8(y, mask_one);
bch.c: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bch.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
bch.c: from bch.c:14:
bch.c: /usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:1293:1: error: inlining failed in call to always_inline '_mm256_set1_epi32': target specific option mismatch
bch.c: _mm256_set1_epi32 (int __A)
bch.c: ^~~~~~~~~~~~~~~~~
bch.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx