Implementation notes: amd64, temp, crypto_kem/mceliece6688128f

Computer: temp
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: mceliece6688128f
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
540764143471 0 0184622 800 1640avxgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
587574160471 0 0191910 800 1640ssegcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
1763466168429 0 0202110 800 1640vecgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
222211172545 0 0104078 800 1576vecgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
234592572469 0 0103670 800 1576vecgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
242327065898 0 096218 784 1576vecgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
24596488189115 0 0123216 808 1640refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
33304040915560 0 047070 800 1576refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
33418961012456 0 042666 784 1576refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019122220191017
34306171715470 0 046686 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:245: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:17: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:241: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:17: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:202: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:18: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