Implementation notes: amd64, temp, crypto_kem/mceliece8192128

Computer: temp
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: mceliece8192128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
560728141728 0 0182750 800 1640avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
594239159872 0 0191206 800 1640ssegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
1670218165174 0 0198846 800 1640vecgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
236830771167 0 0102694 800 1576vecgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
244853571057 0 0102278 800 1576vecgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
266379965056 0 095330 784 1576vecgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
30081869985789 0 0119856 808 1640refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
40559228214239 0 045734 800 1576refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
40908895811284 0 041522 784 1576refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
42046471814054 0 045214 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: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(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:111: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:96: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