Implementation notes: aarch64, supercoplxc, crypto_kem/limasp2062cca

Computer: supercoplxc
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20190816
Operation: crypto_kem
Primitive: limasp2062cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3953520036864 1484 26083672 2440 593200optgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112420190816
4023832036580 1484 26082880 2440 593176optgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112420190816
4040040021716 1484 26067176 2440 593200optgcc_-O3_-fomit-frame-pointer2019112420190816
4086624018440 1484 26062680 2440 593176optgcc_-O2_-fomit-frame-pointer2019112420190816
4113448036536 1484 26083304 2440 593200optgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112420190816
4125200018412 1484 26062592 2440 593176optgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112420190816
4126624036320 1484 26082704 2440 593176optgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112420190816
4153928021744 1484 26067168 2440 593200optgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112420190816
4442960016572 1484 26060840 2440 593176optgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112420190816
4562184030032 1484 26077520 2440 593176optgcc_-funroll-loops_-O_-fomit-frame-pointer2019112420190816
4586512030032 1484 26077520 2440 593176optgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112420190816
4606896016572 1484 26060840 2440 593176optgcc_-O_-fomit-frame-pointer2019112420190816
4832240017120 1464 26062903 2280 593200optclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019112420190816
5093400017108 1464 26062823 2280 593200optclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112420190816
5117800016960 1464 26062727 2280 593200optclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112420190816
5120408016960 1464 26062727 2280 593200optclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112420190816
5158368016960 1464 26062727 2280 593200optclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112420190816
5180224014150 1464 26057558 2400 593168optgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112420190816
5310152014150 1464 26057558 2400 593168optgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112420190816
5450672014154 1464 26057510 2400 593168optgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112420190816
5467824014154 1464 26057510 2400 593168optgcc_-Os_-fomit-frame-pointer2019112420190816
10372992015072 384 460791 1200 592944refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2019112420190816
10373304015004 384 460775 1200 592944refclang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2019112420190816
10425264015004 384 460775 1200 592944refclang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2019112420190816
10441256015004 384 460775 1200 592944refclang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2019112420190816
10494816015152 384 460951 1200 592944refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2019112420190816
10698488034040 384 480792 1336 592936refgcc_-funroll-loops_-O3_-fomit-frame-pointer2019112420190816
10768656033508 384 480224 1336 592936refgcc_-funroll-loops_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112420190816
11801640020284 384 465664 1336 592936refgcc_-fno-schedule-insns_-O3_-fomit-frame-pointer2019112420190816
11806128033064 384 479304 1336 592920refgcc_-funroll-loops_-O2_-fomit-frame-pointer2019112420190816
12052472020304 384 465704 1336 592936refgcc_-O3_-fomit-frame-pointer2019112420190816
12238704032712 384 479048 1336 592920refgcc_-funroll-loops_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112420190816
20342752013182 384 456486 1320 592912refgcc_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112420190816
20378184013174 384 456534 1320 592912refgcc_-funroll-loops_-fno-schedule-insns_-Os_-fomit-frame-pointer2019112420190816
20397232013174 384 456534 1320 592912refgcc_-funroll-loops_-Os_-fomit-frame-pointer2019112420190816
20809600013182 384 456486 1320 592912refgcc_-Os_-fomit-frame-pointer2019112420190816
21253296017008 384 461192 1336 592920refgcc_-O2_-fomit-frame-pointer2019112420190816
21385296029516 384 476952 1336 592920refgcc_-funroll-loops_-O_-fomit-frame-pointer2019112420190816
21465792029516 384 476952 1336 592920refgcc_-funroll-loops_-fno-schedule-insns_-O_-fomit-frame-pointer2019112420190816
23418600023560 1484 26470792 2432 593184optcc2019112420190816
23446688023560 1484 26470792 2432 593184optgcc2019112420190816
23643056015784 384 460000 1336 592920refgcc_-fno-schedule-insns_-O_-fomit-frame-pointer2019112420190816
23873080023560 1484 26470792 2432 593184optgcc_-funroll-loops2019112420190816
23897848016964 384 461080 1336 592920refgcc_-fno-schedule-insns_-O2_-fomit-frame-pointer2019112420190816
24583680015784 384 460000 1336 592920refgcc_-O_-fomit-frame-pointer2019112420190816
68242824020724 384 467888 1328 592920refcc2019112420190816
69387320020724 384 467888 1328 592920refgcc_-funroll-loops2019112420190816
74045352020724 384 467888 1328 592920refgcc2019112420190816

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