Implementation notes: aarch64, rockpi4, crypto_kem/lima2p2048cca

Computer: rockpi4
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: lima2p2048cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
365133336580 1484 26082878 2440 593184optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019121320190816
375334436864 1484 26083670 2440 593216optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019121320190816
380992516572 1484 26060854 2440 593184optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019121320190816
386526716640 1484 26060918 2440 593184optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019121320190816
389748117108 1464 26062839 2280 593216optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019121320190816
410315536320 1484 26082702 2440 593184optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121320190816
411306714110 1464 26057478 2400 593168optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019121320190816
413908618440 1484 26062694 2440 593184optgcc_-O2_-fomit-frame-pointer2019121320190816
421466521716 1484 26067174 2440 593216optgcc_-O3_-fomit-frame-pointer2019121320190816
421507830032 1484 26077518 2440 593184optgcc_-funroll-loops_-O_-fomit-frame-pointer2019121320190816
421755618588 1484 26062926 2440 593184optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019121320190816
424687930032 1484 26077518 2440 593184optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019121320190816
424770518412 1484 26062590 2440 593184optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121320190816
427042016572 1484 26060854 2440 593184optgcc_-O_-fomit-frame-pointer2019121320190816
428859216960 1464 26062743 2280 593216optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019121320190816
430056917120 1464 26062919 2280 593216optclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019121320190816
437656116960 1464 26062743 2280 593216optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019121320190816
460701514150 1464 26057558 2400 593168optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019121320190816
461321014154 1464 26057510 2400 593168optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121320190816
469746214150 1464 26057558 2400 593168optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121320190816
673974729516 384 476966 1336 592928refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019121320190816
697928715072 384 460807 1200 592960refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019121320190816
699993715004 384 460791 1200 592960refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019121320190816
701563115784 384 459998 1336 592928refgcc_-O_-fomit-frame-pointer2019121320190816
702141315784 384 459998 1336 592928refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019121320190816
707138620284 384 465662 1336 592944refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121320190816
710029633064 384 479318 1336 592928refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019121320190816
713540121620 384 467110 1336 592944refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019121320190816
724897615752 384 459982 1336 592928refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2019121320190816
727169133508 384 480238 1336 592944refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121320190816
728614629516 384 476966 1336 592928refgcc_-funroll-loops_-O_-fomit-frame-pointer2019121320190816
737205015152 384 460951 1200 592960refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019121320190816
741211134040 384 480806 1336 592944refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019121320190816
744680315004 384 460791 1200 592960refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019121320190816
754427113174 384 456534 1320 592912refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121320190816
764339113174 384 456534 1320 592912refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019121320190816
769129917008 384 461190 1336 592928refgcc_-O2_-fomit-frame-pointer2019121320190816
783378417172 384 461462 1336 592928refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2019121320190816
793496916964 384 461094 1336 592928refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121320190816
840083313182 384 456486 1320 592912refgcc_-Os_-fomit-frame-pointer2019121320190816
850986536536 1484 26083302 2440 593216optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121320190816
868580321744 1484 26067182 2440 593216optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019121320190816
896994722996 1484 26068542 2440 593216optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2019121320190816
942053016960 1464 26062743 2280 593216optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019121320190816
993471514154 1464 26057510 2400 593168optgcc_-Os_-fomit-frame-pointer2019121320190816
1203234223560 1484 26470790 2432 593184optgcc_-funroll-loops2019121320190816
1355837723560 1484 26470790 2432 593184optcc2019121320190816
1382434932712 384 479046 1336 592928refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019121320190816
1388382115004 384 460791 1200 592960refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019121320190816
1391479620304 384 465702 1336 592944refgcc_-O3_-fomit-frame-pointer2019121320190816
1571754113182 384 456486 1320 592912refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019121320190816
1576586213198 384 456494 1320 592912refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2019121320190816
1620653320724 384 467886 1328 592928refcc2019121320190816
1699247220724 384 467886 1328 592928refgcc_-funroll-loops2019121320190816
3097789123560 1484 26470790 2432 593184optgcc2019121320190816
4760733620724 384 467886 1328 592928refgcc2019121320190816

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: 5, 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
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -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: 5, 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
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref