Implementation notes: aarch64, supercoplxc, crypto_kem/bike2l1nc

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: bike2l1nc
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
831795208685 32 025262 1096 1544ref_osslgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112120190816
834478408693 32 025222 1096 1544ref_osslgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112120190816
835594408693 32 025222 1096 1544ref_osslgcc_-Os_-fomit-frame-pointer2019112120190816
838562408685 32 025262 1096 1544ref_osslgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112120190816
920288009467 32 026632 1112 1552ref_osslgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112120190816
9217664010891 32 029272 1112 1568ref_osslgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112120190816
9217728010919 32 029344 1112 1568ref_osslgcc_-O3_-fomit-frame-pointer2019112120190816
922404009495 32 026728 1112 1552ref_osslgcc_-O2_-fomit-frame-pointer2019112120190816
9562792016995 32 035504 1112 1568ref_osslgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112120190816
9574560015091 32 033224 1112 1552ref_osslgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112120190816
9582800016995 32 035512 1112 1568ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112120190816
9605072015119 32 033344 1112 1552ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112120190816
9736512014990 32 033984 1112 1552ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112120190816
9743056014990 32 033984 1112 1552ref_osslgcc_-funroll-loops_-O_-fomit-frame-pointer2019112120190816
1020386409758 32 027000 1112 1552ref_osslgcc_-O_-fomit-frame-pointer2019112120190816
1024984009758 32 027000 1112 1552ref_osslgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112120190816
38031792014848 32 035024 1096 1560ref_osslcc2019112120190816
38540160014848 32 035024 1096 1560ref_osslgcc_-funroll-loops2019112120190816
38837720014848 32 035024 1096 1560ref_osslgcc2019112120190816

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: 13, 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

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