Implementation notes: aarch64, supercoplxc, crypto_kem/mceliece6960119f

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: mceliece6960119f
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
587688097772 0 0134496 952 1552vecgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112820190816
5881600109710 0 0146695 864 1584vecclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019112820190816
5913840108426 0 0145431 864 1584vecclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112820190816
605088098848 0 0135696 952 1552vecgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112820190816
6100560171568 0 0207400 952 1568vecgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112820190816
6101200244824 0 0281944 952 1568vecgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112820190816
6249680244380 0 0281552 952 1568vecgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112820190816
651808099458 0 0136455 864 1584vecclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112820190816
6591520173136 0 0209000 952 1568vecgcc_-O3_-fomit-frame-pointer2019112820190816
6626400108426 0 0145431 864 1584vecclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112820190816
6670880108426 0 0145431 864 1584vecclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112820190816
7425040100836 0 0138776 952 1552vecgcc_-funroll-loops_-O_-fomit-frame-pointer2019112820190816
7819360100836 0 0138776 952 1552vecgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112820190816
1032456051284 0 085254 936 1544vecgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112820190816
1065080051284 0 085254 936 1544vecgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112820190816
1084752051140 0 085046 936 1544vecgcc_-Os_-fomit-frame-pointer2019112820190816
1089240051140 0 085046 936 1544vecgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112820190816
1105104059136 0 093808 952 1552vecgcc_-O2_-fomit-frame-pointer2019112820190816
1219856059468 0 094112 952 1552vecgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112820190816
1265248061232 0 095920 952 1552vecgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112820190816
1270168061232 0 095920 952 1552vecgcc_-O_-fomit-frame-pointer2019112820190816
6843912090754 0 0128776 936 1560veccc2019112820190816
6855264090754 0 0128776 936 1560vecgcc2019112820190816
6883632090754 0 0128776 936 1560vecgcc_-funroll-loops2019112820190816
474539440174552 0 0211890 960 1568refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112820190816
480780560174028 0 0211338 960 1568refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112820190816
486571600111936 0 0147914 960 1568refgcc_-O3_-fomit-frame-pointer2019112820190816
48873040037592 0 074352 952 1552refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112820190816
49353672037400 0 074248 952 1552refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112820190816
602995280109752 0 0145698 960 1568refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112820190816
65898936036360 0 073415 864 1584refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112820190816
66309456040440 0 077511 864 1584refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019112820190816
67505752040860 0 077943 864 1584refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112820190816
67746656040860 0 077943 864 1584refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112820190816
71464344040860 0 077943 864 1584refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112820190816
96103888038292 0 076216 952 1552refgcc_-funroll-loops_-O_-fomit-frame-pointer2019112820190816
97301336038292 0 076216 952 1552refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112820190816
155155616012764 0 046606 936 1544refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112820190816
158060016014344 0 048992 952 1552refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112820190816
159630552012764 0 046606 936 1544refgcc_-Os_-fomit-frame-pointer2019112820190816
160439568014308 0 049000 952 1552refgcc_-O2_-fomit-frame-pointer2019112820190816
163297248012888 0 046774 936 1544refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112820190816
163537112012888 0 046774 936 1544refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112820190816
178879864015228 0 049944 952 1552refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112820190816
178903472015228 0 049944 952 1552refgcc_-O_-fomit-frame-pointer2019112820190816

Test failure

Implementation: crypto_kem/mceliece6960119f/ref
Compiler: cc
error 142
Alarm clock

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
cc ref
gcc ref
gcc -funroll-loops ref

Compiler output

Implementation: crypto_kem/mceliece6960119f/avx
Compiler: cc
benes.c: In file included from benes.h:8,
benes.c: from benes.c:5:
benes.c: vec128.h:12:10: fatal error: smmintrin.h: No such file or directory
benes.c: #include <smmintrin.h>
benes.c: ^~~~~~~~~~~~~
benes.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 38, namely:
CompilerImplementations
cc avx sse
gcc avx sse
gcc -O2 -fomit-frame-pointer avx sse
gcc -O3 -fomit-frame-pointer avx sse
gcc -O -fomit-frame-pointer avx sse
gcc -Os -fomit-frame-pointer avx sse
gcc -fno-schedule-insns -O2 -fomit-frame-pointer avx sse
gcc -fno-schedule-insns -O3 -fomit-frame-pointer avx sse
gcc -fno-schedule-insns -O -fomit-frame-pointer avx sse
gcc -fno-schedule-insns -Os -fomit-frame-pointer avx sse
gcc -funroll-loops avx sse
gcc -funroll-loops -O2 -fomit-frame-pointer avx sse
gcc -funroll-loops -O3 -fomit-frame-pointer avx sse
gcc -funroll-loops -O -fomit-frame-pointer avx sse
gcc -funroll-loops -Os -fomit-frame-pointer avx sse
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer avx sse
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer avx sse
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer avx sse
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer avx sse

Compiler output

Implementation: crypto_kem/mceliece6960119f/avx
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
benes.c: In file included from benes.c:5:
benes.c: In file included from ./benes.h:8:
benes.c: In file included from ./vec128.h:12:
benes.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/smmintrin.h:27:
benes.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/tmmintrin.h:27:
benes.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/pmmintrin.h:27:
benes.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/emmintrin.h:27:
benes.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/xmmintrin.h:27:
benes.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:64:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
benes.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
benes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benes.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:143:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
benes.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
benes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benes.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:173:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
benes.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
benes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benes.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:203:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
benes.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
benes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benes.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:230:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
benes.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
benes.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benes.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:253:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
benes.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
benes.c: ...

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments avx sse
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments avx sse
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments avx sse
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments avx sse
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx sse