Implementation notes: aarch64, hikey960, crypto_kem/limasp1018cca

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: limasp1018cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
390442519330 1484 26059224 2464 593232optgcc_-O3_-fomit-frame-pointer2019120920190816
395437514134 1484 26052360 2464 593184optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
399600030942 1484 26072216 2464 593184optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
417915013074 1484 26051408 2464 593184optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
422910014178 1484 26052448 2464 593184optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
506306916116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
554248235670 1484 26077184 2464 593232optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
577634216464 1464 26054991 2296 593200optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
594004419394 1484 26059272 2464 593232optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
598192016116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
602189526490 1484 26068024 2464 593184optgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
626744811386 1484 26048956 2448 593184optgcc_-Os_-fomit-frame-pointer2019120920190816
626744811374 1484 26048972 2448 593184optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
648517519250 1484 26059112 2464 593232optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
683520036098 1484 26077640 2464 593232optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
712534013082 1484 26051424 2464 593184optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
739048414162 1484 26052432 2464 593184optgcc_-O2_-fomit-frame-pointer2019120920190816
879952530686 1484 26072008 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
993172514968 384 453495 1216 592944refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
997335031222 384 472760 1360 592960refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
1072260013074 1484 26051408 2464 593184optgcc_-O_-fomit-frame-pointer2019120920190816
1073092516116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1080433226490 1484 26068024 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
1097972711370 1484 26048940 2448 593184optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
1224044225194 384 466728 1360 592928refgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
1383319031042 384 472552 1360 592960refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
1413683714748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1420245013026 384 451296 1360 592928refgcc_-O2_-fomit-frame-pointer2019120920190816
1420706011386 1484 26048956 2448 593184optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
1437069711374 1484 26048972 2448 593184optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
1441890012310 384 450640 1360 592928refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
1570254017230 384 457104 1360 592960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
1771560010634 384 448204 1344 592928refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
1888942517334 384 457192 1360 592960refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
2199648014748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
2357308810590 384 448164 1344 592928refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
2393557117406 384 457304 1360 592960refgcc_-O3_-fomit-frame-pointer2019120920190816
2436727529018 384 470336 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
2958705012986 384 451208 1360 592928refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
2976187512310 384 450640 1360 592928refgcc_-O_-fomit-frame-pointer2019120920190816
3012817510558 384 448156 1344 592928refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
3055380929134 384 470408 1360 592928refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
3215282014748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
3916912510558 384 448156 1344 592928refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
4002660010590 384 448164 1344 592928refgcc_-Os_-fomit-frame-pointer2019120920190816
4008360425194 384 466728 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
4112570012982 384 451248 1360 592928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
4221173012330 384 450672 1360 592928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
4683645022896 1484 26464316 2456 593184optgcc2019120920190816
4935892522896 1484 26464316 2456 593184optcc2019120920190816
5009152522896 1484 26464316 2456 593184optgcc_-funroll-loops2019120920190816
6318403020108 384 461524 1352 592928refcc2019120920190816
6729660020108 384 461524 1352 592928refgcc_-funroll-loops2019120920190816
7253078020108 384 461524 1352 592928refgcc2019120920190816

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