Implementation notes: aarch64, rockpi4, crypto_kem/bike2l1nc

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: bike2l1nc
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2134094915119 32 033382 1112 1568ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121220190816
2164574316995 32 035550 1112 1584ref_osslgcc_-funroll-loops_-O3_-fomit-frame-pointer2019121220190816
2620526310919 32 029382 1112 1584ref_osslgcc_-O3_-fomit-frame-pointer2019121220190816
4146024414990 32 034022 1112 1568ref_osslgcc_-funroll-loops_-O_-fomit-frame-pointer2019121220190816
427479788697 32 025262 1096 1552ref_osslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019121220190816
430354269758 32 027038 1112 1568ref_osslgcc_-O_-fomit-frame-pointer2019121220190816
457281869758 32 027038 1112 1568ref_osslgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019121220190816
662435488685 32 025310 1096 1552ref_osslgcc_-funroll-loops_-Os_-fomit-frame-pointer2019121220190816
663575368693 32 025262 1096 1552ref_osslgcc_-Os_-fomit-frame-pointer2019121220190816
669415188685 32 025310 1096 1552ref_osslgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121220190816
673099148693 32 025262 1096 1552ref_osslgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121220190816
7307043810975 32 029542 1112 1584ref_osslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019121220190816
731439529535 32 026942 1112 1568ref_osslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019121220190816
731728629467 32 026670 1112 1568ref_osslgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121220190816
7333021510891 32 029310 1112 1584ref_osslgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121220190816
735259779495 32 026766 1112 1568ref_osslgcc_-O2_-fomit-frame-pointer2019121220190816
7709264515091 32 033270 1112 1568ref_osslgcc_-funroll-loops_-O2_-fomit-frame-pointer2019121220190816
7754157616995 32 035558 1112 1584ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121220190816
7756511714990 32 034022 1112 1568ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019121220190816
816505139742 32 027038 1112 1568ref_osslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019121220190816
12721556414848 32 035062 1096 1568ref_osslgcc_-funroll-loops2019121220190816
30280788314848 32 035062 1096 1568ref_osslgcc2019121220190816
30466968714848 32 035062 1096 1568ref_osslcc2019121220190816

Compiler output

Implementation: ref_ntl
Security model: unknown
Compiler: clang++ -O3 -fomit-frame-pointer -Qunused-arguments
aes.c: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
aes.c: In file included from aes.c:12:
aes.c: In file included from ./aes.h:21:
aes.c: In file included from /usr/include/clang/7.0.1/include/wmmintrin.h:27:
aes.c: In file included from /usr/include/clang/7.0.1/include/emmintrin.h:27:
aes.c: In file included from /usr/include/clang/7.0.1/include/xmmintrin.h:27:
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:47:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
aes.c: __builtin_ia32_emms();
aes.c: ^
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:47:5: note: '__builtin_isless' declared here
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:47:25: error: too few arguments to function call, expected 2, have 0
aes.c: __builtin_ia32_emms();
aes.c: ^
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:64:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
aes.c: return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
aes.c: ^
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:81:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
aes.c: return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
aes.c: ^
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:143:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
aes.c: return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
aes.c: ^
aes.c: /usr/include/clang/7.0.1/include/mmintrin.h:173:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
aes.c: return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
aes.c: ^
aes.c: ...

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

Compiler output

Implementation: ref_ntl
Security model: unknown
Compiler: g++
aes.c: In file included from aes.c:12:
aes.c: aes.h:21:12: fatal error: wmmintrin.h: No such file or directory
aes.c: #include <wmmintrin.h>
aes.c: ^~~~~~~~~~~~~
aes.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 17, namely:
CompilerImplementations
g++ ref_ntl
g++ -O2 -fomit-frame-pointer ref_ntl
g++ -O3 -fomit-frame-pointer ref_ntl
g++ -O -fomit-frame-pointer ref_ntl
g++ -Os -fomit-frame-pointer ref_ntl
g++ -fno-schedule-insns -O2 -fomit-frame-pointer ref_ntl
g++ -fno-schedule-insns -O3 -fomit-frame-pointer ref_ntl
g++ -fno-schedule-insns -O -fomit-frame-pointer ref_ntl
g++ -fno-schedule-insns -Os -fomit-frame-pointer ref_ntl
g++ -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref_ntl
g++ -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref_ntl
g++ -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref_ntl
g++ -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref_ntl
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref_ntl
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref_ntl
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref_ntl
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref_ntl

Compiler output

Implementation: ref_ossl
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
aes_ctr_prf.c: In file included from aes_ctr_prf.c:14:
aes_ctr_prf.c: ./utilities.h:93:28: error: unknown register name 'rdx' in asm
aes_ctr_prf.c: : "rdx");
aes_ctr_prf.c: ^
aes_ctr_prf.c: ./utilities.h:108:28: error: unknown register name 'rdx' in asm
aes_ctr_prf.c: : "rdx");
aes_ctr_prf.c: ^
aes_ctr_prf.c: ./utilities.h:125:28: error: unknown register name 'rdx' in asm
aes_ctr_prf.c: : "rdx");
aes_ctr_prf.c: ^
aes_ctr_prf.c: 3 errors generated.

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