Implementation notes: aarch64, hikey960, crypto_kem/lima2p1024cca

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: lima2p1024cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
164835011374 1484 26048972 2448 593184optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
190642535670 1484 26077184 2464 593232optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
191475014134 1484 26052360 2464 593184optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
193140030942 1484 26072216 2464 593184optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
197302519394 1484 26059272 2464 593232optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
198135016116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
207292511386 1484 26048956 2448 593184optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
213120011370 1484 26048940 2448 593184optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
261709016116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
270043210558 384 448156 1344 592928refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
271277614162 1484 26052432 2464 593184optgcc_-O2_-fomit-frame-pointer2019120920190816
278293416116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
291375011386 1484 26048956 2448 593184optgcc_-Os_-fomit-frame-pointer2019120920190816
299099211374 1484 26048972 2448 593184optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
318847517334 384 457192 1360 592960refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
336330014968 384 453495 1216 592944refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
340492514748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
392884814748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
393772519330 1484 26059224 2464 593232optgcc_-O3_-fomit-frame-pointer2019120920190816
399600019250 1484 26059112 2464 593232optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
411257026490 1484 26068024 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
439656831222 384 472760 1360 592960refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
441225013082 1484 26051424 2464 593184optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
442057529018 384 470336 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
444334031042 384 472552 1360 592960refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
448644010590 384 448164 1344 592928refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
450382513074 1484 26051408 2464 593184optgcc_-O_-fomit-frame-pointer2019120920190816
452880013074 1484 26051408 2464 593184optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
460704225194 384 466728 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
461873525194 384 466728 1360 592928refgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
489936716464 1464 26054991 2296 593200optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
500460410634 384 448204 1344 592928refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
513652510590 384 448164 1344 592928refgcc_-Os_-fomit-frame-pointer2019120920190816
558925430686 1484 26072008 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
560805036098 1484 26077640 2464 593232optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
596300012330 384 450672 1360 592928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
598192026490 1484 26068024 2464 593184optgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
610374614178 1484 26052448 2464 593184optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
622710017406 384 457304 1360 592960refgcc_-O3_-fomit-frame-pointer2019120920190816
677655012986 384 451208 1360 592928refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
678487512982 384 451248 1360 592928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
721458114748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
747740010558 384 448156 1344 592928refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
803829122896 1484 26464316 2456 593184optgcc_-funroll-loops2019120920190816
874636417230 384 457104 1360 592960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
881652229134 384 470408 1360 592928refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
986889212310 384 450640 1360 592928refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
993905013026 384 451296 1360 592928refgcc_-O2_-fomit-frame-pointer2019120920190816
1080433220108 384 461524 1352 592928refgcc2019120920190816
1174657522896 1484 26464316 2456 593184optgcc2019120920190816
1202034012310 384 450640 1360 592928refgcc_-O_-fomit-frame-pointer2019120920190816
2201791922896 1484 26464316 2456 593184optcc2019120920190816
2483593220108 384 461524 1352 592928refcc2019120920190816
3439604020108 384 461524 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