Implementation notes: aarch64, hikey960, crypto_kem/limasp2062cca

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: limasp2062cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1363948419330 1484 26059224 2464 593232optgcc_-O3_-fomit-frame-pointer2019120920190816
1398600036098 1484 26077640 2464 593232optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
1404427530686 1484 26072008 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
1406092530942 1484 26072216 2464 593184optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
1560708716116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1597567511386 1484 26048956 2448 593184optgcc_-Os_-fomit-frame-pointer2019120920190816
1598400011374 1484 26048972 2448 593184optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
1902451114178 1484 26052448 2464 593184optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
1955069614134 1484 26052360 2464 593184optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
2131081826490 1484 26068024 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
2181913816116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
2244734116116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
2248563911374 1484 26048972 2448 593184optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
2261937711386 1484 26048956 2448 593184optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
2356631019250 1484 26059112 2464 593232optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
2663071116464 1464 26054991 2296 593200optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
3238425035670 1484 26077184 2464 593232optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
3250080014162 1484 26052432 2464 593184optgcc_-O2_-fomit-frame-pointer2019120920190816
3370792526490 1484 26068024 2464 593184optgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
3417412513082 1484 26051424 2464 593184optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
4334015731042 384 472552 1360 592960refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
5049112517230 384 457104 1360 592960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
5354224719394 1484 26059272 2464 593232optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
5618486513074 1484 26051408 2464 593184optgcc_-O_-fomit-frame-pointer2019120920190816
5708522613074 1484 26051408 2464 593184optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
5766171312310 384 450640 1360 592928refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
5775052512310 384 450640 1360 592928refgcc_-O_-fomit-frame-pointer2019120920190816
5780047525194 384 466728 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
5823114017334 384 457192 1360 592960refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
5889764111370 1484 26048940 2448 593184optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
6052296814968 384 453495 1216 592944refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
6595897522896 1484 26464316 2456 593184optcc2019120920190816
7345291212330 384 450672 1360 592928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
7393483925194 384 466728 1360 592928refgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
7430895010634 384 448204 1344 592928refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
7877947514748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
8397912613026 384 451296 1360 592928refgcc_-O2_-fomit-frame-pointer2019120920190816
8838652514748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
9467190031222 384 472760 1360 592960refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
9720724010558 384 448156 1344 592928refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
11080575017406 384 457304 1360 592960refgcc_-O3_-fomit-frame-pointer2019120920190816
11734087512986 384 451208 1360 592928refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
12302913929134 384 470408 1360 592928refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
12401595814748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
13045275029018 384 470336 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
13495657512982 384 451248 1360 592928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
16241242510590 384 448164 1344 592928refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
19460520020108 384 461524 1352 592928refcc2019120920190816
20331259410558 384 448156 1344 592928refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
20458687522896 1484 26464316 2456 593184optgcc2019120920190816
21001477510590 384 448164 1344 592928refgcc_-Os_-fomit-frame-pointer2019120920190816
24694447520108 384 461524 1352 592928refgcc_-funroll-loops2019120920190816
24697777520108 384 461524 1352 592928refgcc2019120920190816
33380007122896 1484 26464316 2456 593184optgcc_-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