Implementation notes: aarch64, hikey960, crypto_kem/lima2p2048cca

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: lima2p2048cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
373974314748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
382950014162 1484 26052432 2464 593184optgcc_-O2_-fomit-frame-pointer2019120920190816
402097526490 1484 26068024 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
413752511374 1484 26048972 2448 593184optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
449011230686 1484 26072008 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
486031013074 1484 26051408 2464 593184optgcc_-O_-fomit-frame-pointer2019120920190816
536708714134 1484 26052360 2464 593184optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
556586816116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
560805016116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
573592525194 384 466728 1360 592928refgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
579972811374 1484 26048972 2448 593184optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
584650011386 1484 26048956 2448 593184optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
596300013082 1484 26051424 2464 593184optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
606892514178 1484 26052448 2464 593184optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
619380016116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
648276019250 1484 26059112 2464 593232optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
649428031042 384 472552 1360 592960refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
652680017230 384 457104 1360 592960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
687645011370 1484 26048940 2448 593184optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
701797514748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
710624112330 384 450672 1360 592928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
730102510558 384 448156 1344 592928refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
774225035670 1484 26077184 2464 593232optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
778387530942 1484 26072216 2464 593184optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
824175016464 1464 26054991 2296 593200optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
838388119394 1484 26059272 2464 593232optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
914085013074 1484 26051408 2464 593184optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
927254929018 384 470336 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
945720011386 1484 26048956 2448 593184optgcc_-Os_-fomit-frame-pointer2019120920190816
947385017334 384 457192 1360 592960refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
985719913026 384 451296 1360 592928refgcc_-O2_-fomit-frame-pointer2019120920190816
1009449010590 384 448164 1344 592928refgcc_-Os_-fomit-frame-pointer2019120920190816
1013532012310 384 450640 1360 592928refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
1025476110558 384 448156 1344 592928refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
1061724436098 1484 26077640 2464 593232optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
1080433219330 1484 26059224 2464 593232optgcc_-O3_-fomit-frame-pointer2019120920190816
1203547012986 384 451208 1360 592928refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
1270395029134 384 470408 1360 592928refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
1273725031222 384 472760 1360 592960refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
1283891426490 1484 26068024 2464 593184optgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
1323675017406 384 457304 1360 592960refgcc_-O3_-fomit-frame-pointer2019120920190816
1343655025194 384 466728 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
1386112512982 384 451248 1360 592928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
1439565410634 384 448204 1344 592928refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
1455778510590 384 448164 1344 592928refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
1527105814748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1578420020108 384 461516 1352 592928refcc2019120920190816
1631173522896 1484 26464308 2456 593184optgcc2019120920190816
1631173522896 1484 26464308 2456 593184optgcc_-funroll-loops2019120920190816
1632342822896 1484 26464308 2456 593184optcc2019120920190816
1719802014968 384 453495 1216 592944refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
2014703912310 384 450640 1360 592928refgcc_-O_-fomit-frame-pointer2019120920190816
4878450020108 384 461516 1352 592928refgcc2019120920190816
4933395020108 384 461516 1352 592928refgcc_-funroll-loops2019120920190816

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
lima.c: lima.c:147:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^
lima.c: lima.c:147:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:155:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^
lima.c: lima.c:155:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^~~~
lima.c: abs
lima.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments opt
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments opt
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments opt
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments opt

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
lima.c: lima.c:91:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^
lima.c: lima.c:91:20: note: use function 'abs' instead
lima.c: rhs=11*sqrt(fabs(2*N))*3.16; // Accepting condition for LIMA_2p
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:91:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
lima.c: lima.c:95:20: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
lima.c: { rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^
lima.c: lima.c:95:20: note: use function 'abs' instead
lima.c: { rhs=11*sqrt(fabs(4*N))*3.16; // Accepting condition for LIMA_sp
lima.c: ^~~~
lima.c: abs
lima.c: lima.c:95:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
lima.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments ref
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -Qunused-arguments ref