Implementation notes: aarch64, rockpi4, crypto_kem/kyber90s512

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: kyber90s512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
48816659030 512 076828 1320 1584refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019121320190816
49807849402 512 068415 1424 1584refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121320190816
50303460938 512 078716 1320 1584refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019121320190816
53607443546 512 061207 1424 1584refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121320190816
56374540850 512 060663 1416 1568refgcc_-funroll-loops_-O_-fomit-frame-pointer2019121320190816
61247929994 512 045639 1400 1552refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019121320190816
62569531646 512 048215 1416 1568refgcc_-O_-fomit-frame-pointer2019121320190816
62941229926 512 045639 1400 1552refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019121320190816
63106429926 512 045639 1400 1552refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121320190816
119191850258 512 069263 1424 1584refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019121320190816
120843840362 512 058903 1416 1568refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019121320190816
123197945078 512 062855 1424 1584refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019121320190816
123652244418 512 062071 1424 1584refgcc_-O3_-fomit-frame-pointer2019121320190816
125015140050 512 058679 1416 1568refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121320190816
125469460938 512 078716 1320 1584refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019121320190816
126047660938 512 078716 1320 1584refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019121320190816
130260260282 512 078012 1320 1584refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019121320190816
134431530874 512 047351 1416 1568refgcc_-O2_-fomit-frame-pointer2019121320190816
135711831074 512 047703 1416 1568refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019121320190816
136620430594 512 047023 1416 1568refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121320190816
146697629934 512 045583 1400 1552refgcc_-Os_-fomit-frame-pointer2019121320190816
147399729934 512 045583 1400 1552refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121320190816
154255540850 512 060663 1416 1568refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019121320190816
157063931646 512 048215 1416 1568refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019121320190816
158550731650 512 048215 1416 1568refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019121320190816
298392572718 512 092279 1400 1568refcc2019121320190816
710773072718 512 092279 1400 1568refgcc_-funroll-loops2019121320190816
719156972718 512 092279 1400 1568refgcc2019121320190816

Compiler output

Implementation: avx2
Security model: unknown
Compiler: cc
aes256ctr.c: aes256ctr.c:10:10: fatal error: immintrin.h: No such file or directory
aes256ctr.c: #include <immintrin.h>
aes256ctr.c: ^~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: In file included from aes256ctr.c:10:
aes256ctr.c: In file included from /usr/lib/llvm-7/lib/clang/7.0.1/include/immintrin.h:28:
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
aes256ctr.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aes256ctr.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
aes256ctr.c: return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
aes256ctr.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