Implementation notes: amd64, genji239, crypto_dh/gls254prot

Computer: genji239
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_dh
Primitive: gls254prot
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14998631312 0 066276 880 1608opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
15007031312 0 066820 880 1608opticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
15009631296 0 066452 880 1608opticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102020191017
15014631296 0 066148 880 1608opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102020191017
16105023321 0 055283 832 1608optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
16266430768 0 065180 880 1576opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
16267630768 0 065180 880 1576opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
16269630768 0 065452 880 1576opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
16271030768 0 065452 880 1576opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
16271830768 0 065180 880 1576opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
16272830768 0 065452 880 1576opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
16278630768 0 065452 880 1576opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
16279622009 0 051299 832 1608optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
16280230768 0 065180 880 1576opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
16303030544 0 064828 880 1576opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102020191017
16303230544 0 064988 880 1576opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102020191017
16304630544 0 064828 880 1576opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102020191017
16304830544 0 064988 880 1576opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102020191017
16310030544 0 064828 880 1576opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102020191017
16311630544 0 064988 880 1576opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102020191017
16313830544 0 064988 880 1576opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102020191017
16324630544 0 064828 880 1576opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102020191017
17058835456 0 068580 880 1576opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102020191017
17239636032 0 069100 880 1576opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102020191017
17836220057 0 048115 824 1608optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
18292222168 0 051187 832 1608optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
20259437368 100352 072276 101240 1608proticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102020191017
20397836224 100352 071244 101240 1608proticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102020191017
20562235888 100352 071452 101240 1608proticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102020191017
21652035688 100352 070028 101240 1576proticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102020191017
21658835688 100352 070028 101240 1576proticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102020191017
21662235688 100352 070028 101240 1576proticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102020191017
21666634512 100352 069252 101240 1576proticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102020191017
21671834512 100352 069252 101240 1576proticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102020191017
21689235760 100352 070260 101240 1576proticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102020191017
21690035760 100352 070260 101240 1576proticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102020191017
21690835760 100352 070260 101240 1576proticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102020191017
21693634512 100352 069252 101240 1576proticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102020191017
21704034512 100352 069252 101240 1576proticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102020191017
21722834400 100352 068868 101240 1576proticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102020191017
21740034400 100352 068868 101240 1576proticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102020191017
21744434400 100352 068868 101240 1576proticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102020191017
21747834400 100352 068868 101240 1576proticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102020191017
21752834049 98304 066459 99144 1608protgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
21766035760 100352 070260 101240 1576proticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102020191017
22329037144 100352 072356 101240 1608proticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102020191017
22703815739 98304 045451 99144 1608protgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
22954414240 98304 043355 99144 1608protgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102020191017
27771435688 100352 070028 101240 1576proticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102020191017

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: 7, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer opt
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer prot
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer prot
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer prot
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
dh.c: In file included from dh.c:9:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: 273 | types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: | ^~~~~~~~~~~~~~~~
dh.c: | types_copy
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy'; did you mean 'types_copy'? [-Wimplicit-function-declaration]
dh.c: 284 | types_cond_copy(QX, tab0, o1);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: | types_copy

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE prot
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE prot

Compiler output

Implementation: prot
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
dh.c: In file included from dh.c(9):
dh.c: scmul.incl(273): warning #266: function "types_cond_copy2" declared implicitly
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^
dh.c:
dh.c: In file included from dh.c(9):
dh.c: scmul.incl(284): warning #266: function "types_cond_copy" declared implicitly
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^
dh.c:

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer prot
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer prot
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer prot
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer prot
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer prot
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer prot
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer prot
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer prot
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer prot
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer prot
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer prot
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer prot
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer prot
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer prot
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer prot
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer prot
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer prot
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer prot
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer prot
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer prot
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer prot
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer prot
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer prot
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer prot