Implementation notes: amd64, h9trinity, crypto_kem/ledakemcpa13

Computer: h9trinity
Architecture: amd64
CPU ID: AuthenticAMD-00610f01-178bfbff
SUPERCOP version: 20200618
Operation: crypto_kem
Primitive: ledakemcpa13

Test failure

Implementation: portableopt
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

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

Compiler output

Implementation: portableopt
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
gf2x_arith.c: gf2x_arith.c:803:17: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'gf2x_exact_div_x_plus_one' that is compiled without support for 'avx2'
gf2x_arith.c: vec_t = _mm256_xor_si256(tmp,vec_t);
gf2x_arith.c: ^
gf2x_arith.c: gf2x_arith.c:806:15: error: always_inline function '_mm256_slli_epi64' requires target feature 'avx2', but would be inlined into function 'gf2x_exact_div_x_plus_one' that is compiled without support for 'avx2'
gf2x_arith.c: tmp = _mm256_slli_epi64(vec_t, j);
gf2x_arith.c: ^
gf2x_arith.c: gf2x_arith.c:807:21: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'gf2x_exact_div_x_plus_one' that is compiled without support for 'avx2'
gf2x_arith.c: vec_t = _mm256_xor_si256(tmp,vec_t);
gf2x_arith.c: ^
gf2x_arith.c: gf2x_arith.c:818:17: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'gf2x_exact_div_x_plus_one' that is compiled without support for 'avx2'
gf2x_arith.c: vec_t = _mm256_xor_si256(tmp,vec_t);
gf2x_arith.c: ^
gf2x_arith.c: gf2x_arith.c:824:17: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'gf2x_exact_div_x_plus_one' that is compiled without support for 'avx2'
gf2x_arith.c: vec_t = _mm256_xor_si256(tmp,vec_t);
gf2x_arith.c: ^
gf2x_arith.c: 5 errors generated.

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

Compiler output

Implementation: portableopt
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
gf2x_arith.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0,
gf2x_arith.c: from /usr/lib/gcc/x86_64-linux-gnu/7/include/x86intrin.h:48,
gf2x_arith.c: from architecture_detect.h:41,
gf2x_arith.c: from gf2x_arith.h:34,
gf2x_arith.c: from gf2x_arith.c:31:
gf2x_arith.c: gf2x_arith.c: In function 'gf2x_exact_div_x_plus_one':
gf2x_arith.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:913:1: error: inlining failed in call to always_inline '_mm256_xor_si256': target specific option mismatch
gf2x_arith.c: _mm256_xor_si256 (__m256i __A, __m256i __B)
gf2x_arith.c: ^~~~~~~~~~~~~~~~
gf2x_arith.c: gf2x_arith.c:803:15: note: called from here
gf2x_arith.c: vec_t = _mm256_xor_si256(tmp,vec_t);
gf2x_arith.c: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf2x_arith.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0,
gf2x_arith.c: from /usr/lib/gcc/x86_64-linux-gnu/7/include/x86intrin.h:48,
gf2x_arith.c: from architecture_detect.h:41,
gf2x_arith.c: from gf2x_arith.h:34,
gf2x_arith.c: from gf2x_arith.c:31:
gf2x_arith.c: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:913:1: error: inlining failed in call to always_inline '_mm256_xor_si256': target specific option mismatch
gf2x_arith.c: _mm256_xor_si256 (__m256i __A, __m256i __B)
gf2x_arith.c: ^~~~~~~~~~~~~~~~
gf2x_arith.c: gf2x_arith.c:803:15: note: called from here
gf2x_arith.c: vec_t = _mm256_xor_si256(tmp,vec_t);
gf2x_arith.c: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gf2x_arith.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0,
gf2x_arith.c: from /usr/lib/gcc/x86_64-linux-gnu/7/include/x86intrin.h:48,
gf2x_arith.c: ...

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