Implementation notes: aarch64, rockpi4, crypto_aead/morus1280128v1

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_aead
Primitive: morus1280128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
144557956 0 023639 920 880refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019091220190816
148688004 0 022447 920 880refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019091220190816
152817764 0 020814 912 864refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091220190816
152817792 0 022167 920 880refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091220190816
165208452 0 024926 912 864refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019091220190816
169337972 0 022311 920 880refgcc_-O3_-fomit-frame-pointer2019091220190816
169338272 0 021526 912 864refgcc_-O_-fomit-frame-pointer2019091220190816
169338272 0 021526 912 864refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019091220190816
169338084 0 023334 912 864refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091220190816
169337784 0 023495 920 880refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091220190816
169338272 0 021526 912 864refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019091220190816
177598212 0 023318 912 864refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019091220190816
181727908 0 020982 912 864refgcc_-O2_-fomit-frame-pointer2019091220190816
181727948 0 021110 912 864refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019091220190816
198243740 0 018980 800 888refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019091220190816
210633812 0 018996 800 888refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019091220190816
210633812 0 019044 800 888refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019091220190816
218895308 0 020548 800 888ref64clang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019091220190816
231285372 0 020548 800 888ref64clang_-O3_-fomit-frame-pointer_-Qunused-arguments2019091220190816
231286480 0 021750 912 864ref64gcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091220190816
231285984 0 021719 920 880ref64gcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091220190816
231284732 0 017934 912 864ref64gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019091220190816
235415372 0 020596 800 888ref64clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019091220190816
235414752 0 017078 896 856ref64gcc_-Os_-fomit-frame-pointer2019091220190816
235414752 0 017078 896 856ref64gcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091220190816
235414800 0 017182 896 856ref64gcc_-funroll-loops_-Os_-fomit-frame-pointer2019091220190816
239543260 0 015566 896 856refgcc_-Os_-fomit-frame-pointer2019091220190816
239543260 0 015566 896 856refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091220190816
284976884 0 023390 912 864ref64gcc_-funroll-loops_-O_-fomit-frame-pointer2019091220190816
289105476 0 018758 912 864ref64gcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019091220190816
293238452 0 024926 912 864refgcc_-funroll-loops_-O_-fomit-frame-pointer2019091220190816
334533812 0 019044 800 888refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019091220190816
338663812 0 019044 800 888refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019091220190816
367575372 0 020596 800 888ref64clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019091220190816
367575372 0 020596 800 888ref64clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019091220190816
388226252 0 021390 912 864ref64gcc_-funroll-loops_-O2_-fomit-frame-pointer2019091220190816
388225844 0 021551 920 880ref64gcc_-funroll-loops_-O3_-fomit-frame-pointer2019091220190816
396483340 0 015702 896 856refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019091220190816
396483340 0 015702 896 856refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091220190816
396484700 0 017806 912 864ref64gcc_-O2_-fomit-frame-pointer2019091220190816
396484736 0 019111 920 880ref64gcc_-O3_-fomit-frame-pointer2019091220190816
400614800 0 017182 896 856ref64gcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019091220190816
400614768 0 019239 920 880ref64gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019091220190816
413004872 0 019255 920 880ref64gcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019091220190816
417134900 0 017982 912 864ref64gcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019091220190816
417134752 0 017078 896 856ref64gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019091220190816
433653260 0 015566 896 856refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019091220190816
652546884 0 023390 912 864ref64gcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019091220190816
656675476 0 018758 912 864ref64gcc_-O_-fomit-frame-pointer2019091220190816
656675476 0 018758 912 864ref64gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019091220190816
12224814688 0 036375 904 864ref64gcc2019091220190816
1243137800 0 029479 904 864refcc2019091220190816
1243137800 0 029479 904 864refgcc2019091220190816
39978414688 0 036375 904 864ref64cc2019091220190816
39978414688 0 036375 904 864ref64gcc_-funroll-loops2019091220190816
4018497800 0 029479 904 864refgcc_-funroll-loops2019091220190816

Compiler output

Implementation: avx2
Security model: unknown
Compiler: cc
morus1280128v1avx2.c: morus1280128v1avx2.c:2:10: fatal error: immintrin.h: No such file or directory
morus1280128v1avx2.c: #include <immintrin.h>
morus1280128v1avx2.c: ^~~~~~~~~~~~~
morus1280128v1avx2.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc avx2
gcc avx2
gcc -O2 -fomit-frame-pointer avx2
gcc -O3 -fomit-frame-pointer avx2
gcc -O -fomit-frame-pointer avx2
gcc -Os -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O2 -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O3 -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O -fomit-frame-pointer avx2
gcc -fno-schedule-insns -Os -fomit-frame-pointer avx2
gcc -funroll-loops avx2
gcc -funroll-loops -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -O -fomit-frame-pointer avx2
gcc -funroll-loops -Os -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer avx2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv avx2

Compiler output

Implementation: avx2
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
morus1280128v1avx2.c: In file included from morus1280128v1avx2.c:2:
morus1280128v1avx2.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/immintrin.h:28:
morus1280128v1avx2.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
morus1280128v1avx2.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.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
morus1280128v1avx2.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.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
morus1280128v1avx2.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.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
morus1280128v1avx2.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.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
morus1280128v1avx2.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.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
morus1280128v1avx2.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280128v1avx2.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
morus1280128v1avx2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1avx2.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280128v1avx2.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
morus1280128v1avx2.c: ...

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

Compiler output

Implementation: sse2
Security model: unknown
Compiler: cc
morus1280128v1sse2.c: morus1280128v1sse2.c:2:10: fatal error: immintrin.h: No such file or directory
morus1280128v1sse2.c: #include <immintrin.h>
morus1280128v1sse2.c: ^~~~~~~~~~~~~
morus1280128v1sse2.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 23, namely:
CompilerImplementations
cc sse2
gcc sse2
gcc -O2 -fomit-frame-pointer sse2
gcc -O3 -fomit-frame-pointer sse2
gcc -O -fomit-frame-pointer sse2
gcc -Os -fomit-frame-pointer sse2
gcc -fno-schedule-insns -O2 -fomit-frame-pointer sse2
gcc -fno-schedule-insns -O3 -fomit-frame-pointer sse2
gcc -fno-schedule-insns -O -fomit-frame-pointer sse2
gcc -fno-schedule-insns -Os -fomit-frame-pointer sse2
gcc -funroll-loops sse2
gcc -funroll-loops -O2 -fomit-frame-pointer sse2
gcc -funroll-loops -O3 -fomit-frame-pointer sse2
gcc -funroll-loops -O -fomit-frame-pointer sse2
gcc -funroll-loops -Os -fomit-frame-pointer sse2
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer sse2
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer sse2
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer sse2
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer sse2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv sse2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv sse2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv sse2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv sse2

Compiler output

Implementation: sse2
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
morus1280128v1sse2.c: In file included from morus1280128v1sse2.c:2:
morus1280128v1sse2.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/immintrin.h:28:
morus1280128v1sse2.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
morus1280128v1sse2.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.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
morus1280128v1sse2.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.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
morus1280128v1sse2.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.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
morus1280128v1sse2.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.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
morus1280128v1sse2.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.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
morus1280128v1sse2.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:274:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280128v1sse2.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
morus1280128v1sse2.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morus1280128v1sse2.c: /usr/lib/llvm-7/lib/clang/7.0.1/include/mmintrin.h:301:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
morus1280128v1sse2.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
morus1280128v1sse2.c: ...

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