Implementation notes: aarch64, supercoplxc, crypto_kem/bike1l1nc

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: bike1l1nc
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
893775209025 32 025558 1096 1544ref_osslgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112120190816
894530409025 32 025614 1096 1544ref_osslgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112120190816
895031209025 32 025614 1096 1544ref_osslgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112120190816
897208009025 32 025558 1096 1544ref_osslgcc_-Os_-fomit-frame-pointer2019112120190816
9825192011323 32 029696 1112 1568ref_osslgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112120190816
9830920011335 32 029752 1112 1568ref_osslgcc_-O3_-fomit-frame-pointer2019112120190816
983385609899 32 027064 1112 1552ref_osslgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112120190816
983608809935 32 027152 1112 1552ref_osslgcc_-O2_-fomit-frame-pointer2019112120190816
10160680017419 32 035920 1112 1568ref_osslgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112120190816
10177784017435 32 035944 1112 1568ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112120190816
10214640015567 32 033776 1112 1552ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112120190816
10221216015531 32 033648 1112 1552ref_osslgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112120190816
10381080015390 32 034384 1112 1552ref_osslgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112120190816
10398712015390 32 034384 1112 1552ref_osslgcc_-funroll-loops_-O_-fomit-frame-pointer2019112120190816
10819288010158 32 027400 1112 1552ref_osslgcc_-O_-fomit-frame-pointer2019112120190816
10851704010158 32 027400 1112 1552ref_osslgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112120190816
38676432015604 32 035792 1096 1560ref_osslcc2019112120190816
39096488015604 32 035792 1096 1560ref_osslgcc2019112120190816
39159264015604 32 035792 1096 1560ref_osslgcc_-funroll-loops2019112120190816

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