Implementation notes: amd64, latour, crypto_kem/bike1l1sc

Computer: latour
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20200530
Operation: crypto_kem
Primitive: bike1l1sc
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
6606645314546 32 033361 1016 1576ref_osslclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200409
6609474913959 32 031849 1016 1576ref_osslclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200409
6610580113959 32 031849 1016 1576ref_osslclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200409
6612412514504 32 033185 1016 1576ref_osslclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200409
6626775611477 32 028327 1008 1576ref_osslclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042620200409
6669916211544 32 029239 984 1608ref_osslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200409
6792268510101 32 027202 976 1576ref_osslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200409
6890131814864 32 035015 984 1608ref_osslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200409
6913026011560 32 029607 984 1608ref_osslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020042620200409

Test failure

Implementation: crypto_kem/bike1l1sc/avx2_ossl
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

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

Compiler output

Implementation: crypto_kem/bike1l1sc/avx2_ntl
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
aes.c: aes.c:27:17: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'aes256_enc' that is compiled without support for 'aes'
aes.c: block = _mm_aesenc_si128(block, ks->keys[i]);
aes.c: ^
aes.c: aes.c:29:13: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'aes256_enc' that is compiled without support for 'aes'
aes.c: block = _mm_aesenclast_si128(block, ks->keys[AES256_ROUNDS]);
aes.c: ^
aes.c: 2 errors generated.

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

Compiler output

Implementation: crypto_kem/bike1l1sc/avx2_ossl
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
converts.S: converts.S:47:11: error: unknown token in expression
converts.S: .set out, %rdi
converts.S: ^
converts.S: converts.S:47:11: error: missing expression
converts.S: .set out, %rdi
converts.S: ^
converts.S: converts.S:49:11: error: unknown token in expression
converts.S: .set len, %rdx
converts.S: ^
converts.S: converts.S:49:11: error: missing expression
converts.S: .set len, %rdx
converts.S: ^
converts.S: converts.S:51:14: error: unknown token in expression
converts.S: .set in_itr, %r8
converts.S: ^
converts.S: converts.S:51:14: error: missing expression
converts.S: .set in_itr, %r8
converts.S: ^
converts.S: converts.S:53:15: error: unknown token in expression
converts.S: .set out_itr, %r10
converts.S: ^
converts.S: converts.S:53:15: error: missing expression
converts.S: .set out_itr, %r10
converts.S: ^
converts.S: converts.S:55:12: error: unknown token in expression
converts.S: ...

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

Compiler output

Implementation: crypto_kem/bike1l1sc/avx2_ntl
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes.c: In file included from aes.h:21:0,
aes.c: from aes.c:12:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h: In function 'void aes256_enc(uint8_t*, const uint8_t*, const aes256_ks_t*)':
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '__m128i _mm_aesenc_si128(__m128i, __m128i)': target specific option mismatch
aes.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aes.c: ^
aes.c: aes.c:27:33: error: called from here
aes.c: block = _mm_aesenc_si128(block, ks->keys[i]);
aes.c: ^
aes.c: In file included from aes.h:21:0,
aes.c: from aes.c:12:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h:69:1: error: inlining failed in call to always_inline '__m128i _mm_aesenclast_si128(__m128i, __m128i)': target specific option mismatch
aes.c: _mm_aesenclast_si128 (__m128i __X, __m128i __Y)
aes.c: ^
aes.c: aes.c:29:33: error: called from here
aes.c: block = _mm_aesenclast_si128(block, ks->keys[AES256_ROUNDS]);
aes.c: ^
aes.c: In file included from aes.h:21:0,
aes.c: from aes.c:12:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '__m128i _mm_aesenc_si128(__m128i, __m128i)': target specific option mismatch
aes.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aes.c: ^
aes.c: aes.c:27:33: error: called from here
aes.c: block = _mm_aesenc_si128(block, ks->keys[i]);
aes.c: ^
aes.c: ...

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2_ntl avx512_ntl ref_ntl
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2_ntl avx512_ntl ref_ntl
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2_ntl avx512_ntl ref_ntl

Compiler output

Implementation: crypto_kem/bike1l1sc/avx2_ntl
Compiler: g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes.c: In file included from aes.h:21:0,
aes.c: from aes.c:12:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h: In function 'void aes256_enc(uint8_t*, const uint8_t*, const aes256_ks_t*)':
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '__m128i _mm_aesenc_si128(__m128i, __m128i)': target specific option mismatch
aes.c: _mm_aesenc_si128 (__m128i __X, __m128i __Y)
aes.c: ^
aes.c: aes.c:27:33: error: called from here
aes.c: block = _mm_aesenc_si128(block, ks->keys[i]);
aes.c: ^
aes.c: In file included from aes.h:21:0,
aes.c: from aes.c:12:
aes.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h:69:1: error: inlining failed in call to always_inline '__m128i _mm_aesenclast_si128(__m128i, __m128i)': target specific option mismatch
aes.c: _mm_aesenclast_si128 (__m128i __X, __m128i __Y)
aes.c: ^
aes.c: aes.c:29:33: error: called from here
aes.c: block = _mm_aesenclast_si128(block, ks->keys[AES256_ROUNDS]);
aes.c: ^

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE avx2_ntl avx512_ntl ref_ntl

Namespace violations

Implementation: crypto_kem/bike1l1sc/ref_ossl
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_ctr_prf.o aes_ctr_prf T
aes_ctr_prf.o init_aes_ctr_prf_state T
converts_portable.o convert_to_redundant_rep T
converts_portable.o count_ones T
decode.o compute_syndrome T
decode.o decode T
decode.o recompute_syndrome T
decode.o split_e T
openssl_utils.o cyclic_product T
openssl_utils.o mod_inv T
openssl_utils.o ossl_add T
openssl_utils.o ossl_split_polynomial T
parallel_hash.o parallel_hash T
sampling.o generate_sparse_fake_rep T
sampling.o generate_sparse_rep T
sampling.o sample_uniform_r_bits T
sampling_portable.o secure_set_bits T
secure_decode_portable.o compute_counter_of_unsat T
secure_decode_portable.o find_error1 T
secure_decode_portable.o find_error2 T
utilities.o print_BE T
utilities.o print_LE T

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