Implementation notes: amd64, genji346, crypto_kem/limasp2062cca

Computer: genji346
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20191017
Operation: crypto_kem
Primitive: limasp2062cca
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1105602051984 1464 288220955 2368 593248opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
1114128052448 1464 288221491 2368 593248opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
1152540056208 1464 288226414 2368 593248opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
1166948056208 1464 288226414 2368 593248opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
1167512056208 1464 288226414 2368 593248opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
1169936056208 1464 288226414 2368 593248opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
1178244053352 1464 288223638 2368 593248opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
1178926053352 1464 288223638 2368 593248opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
1180252053352 1464 288223638 2368 593248opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
1184634053352 1464 288223638 2368 593248opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
1186134055528 1464 288226166 2368 593248opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
1195164053992 1464 288224294 2368 593248opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
1196316053992 1464 288224294 2368 593248opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
1201816053992 1464 288224294 2368 593248opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
1203152053992 1464 288224294 2368 593248opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
1212802055528 1464 288226166 2368 593248opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
1212918055528 1464 288226166 2368 593248opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
1215470055528 1464 288226166 2368 593248opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
1218104022682 1524 288190206 2392 593280optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1222126018256 1524 288183590 2392 593280optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1265722023604 1464 260190889 2304 593192optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1274706019144 1464 260186561 2304 593192optclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1277686014379 1464 260178575 2296 593192optclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1285978017504 1464 260184305 2304 593192optclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1287934017504 1464 260184305 2304 593192optclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
1303086015067 1524 288180110 2392 593280optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
1387238013189 1524 288177350 2384 593248optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
6702300040664 384 4210720 1272 592992reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
6709812040664 384 4210720 1272 592992reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
6714150040808 384 4211280 1272 592992reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
6714610040808 384 4211280 1272 592992reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
6716182040664 384 4210720 1272 592992reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
6721414040808 384 4211280 1272 592992reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
6722154016760 384 4184129 1224 592936refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
6723870040808 384 4211280 1272 592992reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
6727088015373 384 4182097 1224 592936refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
6734474015373 384 4182097 1224 592936refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
6750444040664 384 4210720 1272 592992reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
6789236021473 424 4188934 1288 593024refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
6793334037968 384 4208104 1272 592992reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
6800130037520 384 4207640 1272 592992reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
6802480037968 384 4208104 1272 592992reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
6810022037968 384 4208104 1272 592992reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
6815468037520 384 4207640 1272 592992reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
6820382037520 384 4207640 1272 592992reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
6822098037520 384 4207640 1272 592992reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
6835606021588 384 4188841 1224 592936refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
6840006037968 384 4208104 1272 592992reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
6961298034456 384 4203264 1272 592992reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
6969856034904 384 4203736 1272 592992reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
8721532012671 384 4176751 1216 592936refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
9161312016585 424 4181822 1288 593024refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
9199818012313 424 4176422 1280 592992refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
9709396014108 424 4179102 1288 593024refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017

Test failure

Implementation: opt
Security model: unknown
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer opt
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer opt
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer opt
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer opt
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer opt
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer opt
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: opt
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref