Implementation notes: amd64, temp, crypto_kem/mceliece6960119

Computer: temp
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: mceliece6960119
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
536269139955 0 0181054 800 1640avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
570679152301 0 0183686 800 1640ssegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
1627686159880 0 0193494 800 1640vecgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
215698058224 0 089750 800 1576vecgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
226470551937 0 082258 784 1576vecgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
232397758109 0 089278 800 1576vecgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
24009664390611 0 0124664 808 1640refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
32318736914368 0 045878 800 1576refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
32671318511446 0 041666 784 1576refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
33386683814163 0 045366 800 1576refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017

Compiler output

Implementation: avx
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bm.c: bm.c: In function 'bm':
bm.c: bm.c:138:6: error: the last argument must be a 1-bit immediate
bm.c: void bm(vec128 *out, vec256 *in)
bm.c: ^
bm.c: bm.c:138:6: error: selector must be an integer constant in the range 0..1

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

Compiler output

Implementation: avx
Security model: unknown
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
pk_gen.c: pk_gen.c: In function 'pk_gen':
pk_gen.c: pk_gen.c:122:2: warning: passing argument 2 of 'de_bitslicing' from incompatible pointer type [enabled by default]
pk_gen.c: de_bitslicing(list, prod);
pk_gen.c: ^
pk_gen.c: pk_gen.c:15:13: note: expected 'const __vector(4) long long int (*)[13]' but argument is of type '__vector(4) long long int (*)[13]'
pk_gen.c: static void de_bitslicing(uint64_t * out, const vec256 in[][GFBITS])
pk_gen.c: ^

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

Compiler output

Implementation: avx
Security model: unknown
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
bm.c: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/immintrin.h:56:0,
bm.c: from vec256.h:11,
bm.c: from bm.h:10,
bm.c: from bm.c:6:
bm.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/avxintrin.h: In function 'bm':
bm.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/avxintrin.h:486:54: error: the last argument must be a 1-bit immediate
bm.c: return (__m128i) __builtin_ia32_vextractf128_si256 ((__v8si)__X, __N);
bm.c: ^
bm.c: In file included from vec128.h:12:0,
bm.c: from bm.h:9,
bm.c: from bm.c:6:
bm.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/smmintrin.h:454:3: error: selector must be an integer constant in the range 0..1
bm.c: return __builtin_ia32_vec_ext_v2di ((__v2di)__X, __N);
bm.c: ^

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

Compiler output

Implementation: sse
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
bm.c: bm.c: In function 'get_coefs':
bm.c: bm.c:71:20: error: selector must be an integer constant in the range 0..1
bm.c: static inline void get_coefs(gf *out, vec128 *in)
bm.c: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE sse

Compiler output

Implementation: sse
Security model: unknown
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
pk_gen.c: pk_gen.c: In function 'pk_gen':
pk_gen.c: pk_gen.c:118:2: warning: passing argument 2 of 'de_bitslicing' from incompatible pointer type [enabled by default]
pk_gen.c: de_bitslicing(list, prod);
pk_gen.c: ^
pk_gen.c: pk_gen.c:15:13: note: expected 'const __vector(2) long long int (*)[13]' but argument is of type '__vector(2) long long int (*)[13]'
pk_gen.c: static void de_bitslicing(uint64_t * out, const vec128 in[][GFBITS])
pk_gen.c: ^

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE sse

Compiler output

Implementation: sse
Security model: unknown
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
bm.c: In file included from vec128.h:12:0,
bm.c: from bm.h:10,
bm.c: from bm.c:6:
bm.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/smmintrin.h: In function 'get_coefs':
bm.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/smmintrin.h:454:3: error: selector must be an integer constant in the range 0..1
bm.c: return __builtin_ia32_vec_ext_v2di ((__v2di)__X, __N);
bm.c: ^

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

Compiler output

Implementation: vec
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
pk_gen.c: pk_gen.c: In function 'pk_gen':
pk_gen.c: pk_gen.c:101:2: warning: passing argument 2 of 'de_bitslicing' from incompatible pointer type [enabled by default]
pk_gen.c: de_bitslicing(list, prod);
pk_gen.c: ^
pk_gen.c: pk_gen.c:15:13: note: expected 'const vec (*)[13]' but argument is of type 'vec (*)[13]'
pk_gen.c: static void de_bitslicing(uint64_t * out, const vec in[][GFBITS])
pk_gen.c: ^

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