Implementation notes: aarch64, hikey960, crypto_kem/limasp1306cca

Computer: hikey960
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: limasp1306cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
723442530942 1484 26072216 2464 593184optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
766732526490 1484 26068024 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
810855011374 1484 26048972 2448 593184optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
972062019250 1484 26059112 2464 593232optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
996243635670 1484 26077184 2464 593232optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
999751514134 1484 26052360 2464 593184optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
1080433226490 1484 26068024 2464 593184optgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
1084223016116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1101480616116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1141236811386 1484 26048956 2448 593184optgcc_-Os_-fomit-frame-pointer2019120920190816
1158997011374 1484 26048972 2448 593184optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
1168146419330 1484 26059224 2464 593232optgcc_-O3_-fomit-frame-pointer2019120920190816
1327435014178 1484 26052448 2464 593184optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
1356975011386 1484 26048956 2448 593184optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
1393493413074 1484 26051408 2464 593184optgcc_-O_-fomit-frame-pointer2019120920190816
1396102513082 1484 26051424 2464 593184optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
1588410036098 1484 26077640 2464 593232optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
1610887530686 1484 26072008 2464 593184optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
1627537514968 384 453495 1216 592944refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1853145016464 1464 26054991 2296 593200optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019120920190816
1897267531042 384 472552 1360 592960refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
1983132819394 1484 26059272 2464 593232optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
2002162516116 1464 26054663 2296 593200optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
2123448811370 1484 26048940 2448 593184optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
2167830029018 384 470336 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
2277161025194 384 466728 1360 592928refgcc_-funroll-loops_-O_-fomit-frame-pointer2019120920190816
2277796414162 1484 26052432 2464 593184optgcc_-O2_-fomit-frame-pointer2019120920190816
2400234729134 384 470408 1360 592928refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019120920190816
2637260512310 384 450640 1360 592928refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
2654477031222 384 472760 1360 592960refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019120920190816
2724469014748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019120920190816
2841412013074 1484 26051408 2464 593184optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
3004492510590 384 448164 1344 592928refgcc_-Os_-fomit-frame-pointer2019120920190816
3149911812986 384 451208 1360 592928refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019120920190816
3196866225194 384 466728 1360 592928refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019120920190816
3211785022896 1484 26464316 2456 593184optcc2019120920190816
3258796410558 384 448156 1344 592928refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019120920190816
3658739712982 384 451248 1360 592928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019120920190816
3692649412330 384 450672 1360 592928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019120920190816
4202464210590 384 448164 1344 592928refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
4258237517230 384 457104 1360 592960refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019120920190816
4373955017334 384 457192 1360 592960refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019120920190816
4416526717406 384 457304 1360 592960refgcc_-O3_-fomit-frame-pointer2019120920190816
4511159422896 1484 26464316 2456 593184optgcc_-funroll-loops2019120920190816
5465186412310 384 450640 1360 592928refgcc_-O_-fomit-frame-pointer2019120920190816
5682368014748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019120920190816
5964599314748 384 453295 1216 592944refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019120920190816
5968192513026 384 451296 1360 592928refgcc_-O2_-fomit-frame-pointer2019120920190816
6951377410558 384 448156 1344 592928refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019120920190816
6979680010634 384 448204 1344 592928refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019120920190816
8599725022896 1484 26464316 2456 593184optgcc2019120920190816
9092711620108 384 461524 1352 592928refgcc2019120920190816
12738354220108 384 461524 1352 592928refcc2019120920190816
23424885020108 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