Implementation notes: amd64, pmnod076, crypto_dh/gls254prot

Computer: pmnod076
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_dh
Primitive: gls254prot
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15002631312 0 066276 880 1608opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
15010231312 0 066820 880 1608opticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
15013231296 0 066452 880 1608opticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
15021431296 0 066148 880 1608opticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
16118223321 0 055341 848 1608optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
16275230768 0 065180 880 1576opticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
16276030768 0 065180 880 1576opticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
16278830768 0 065180 880 1576opticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
16279230768 0 065180 880 1576opticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
16285230768 0 065452 880 1576opticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
16287422009 0 051357 848 1608optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
16293830768 0 065452 880 1576opticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
16294230768 0 065452 880 1576opticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
16295030768 0 065452 880 1576opticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
16301030544 0 064828 880 1576opticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
16301630544 0 064828 880 1576opticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
16304230544 0 064988 880 1576opticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
16305030544 0 064828 880 1576opticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
16305230544 0 064828 880 1576opticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
16307430544 0 064988 880 1576opticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
16309830544 0 064988 880 1576opticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
16315630544 0 064988 880 1576opticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
17072835456 0 068580 880 1576opticc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
17242636032 0 069100 880 1576opticc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
17641020057 0 048173 840 1608optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
18319022168 0 051245 848 1608optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
20237837368 100352 072276 101240 1608proticc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
20411636224 100352 071244 101240 1608proticc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
20423435888 100352 071452 101240 1608proticc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
20439437144 100352 072356 101240 1608proticc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer2019102320191017
21301435760 100352 070260 101240 1576proticc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102320191017
21320634400 100352 068868 101240 1576proticc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
21653835688 100352 070028 101240 1576proticc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
21656435688 100352 070028 101240 1576proticc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
21659635688 100352 070028 101240 1576proticc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
21665634512 100352 069252 101240 1576proticc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102320191017
21665835688 100352 070028 101240 1576proticc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
21696634512 100352 069252 101240 1576proticc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102320191017
21697435760 100352 070260 101240 1576proticc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
21697835760 100352 070260 101240 1576proticc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102320191017
21732034400 100352 068868 101240 1576proticc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
21741034400 100352 068868 101240 1576proticc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
21745634400 100352 068868 101240 1576proticc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
21747035760 100352 070260 101240 1576proticc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
21747634512 100352 069252 101240 1576proticc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102320191017
21773034049 98304 066517 99160 1608protgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
21887634512 100352 069252 101240 1576proticc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017
22686015739 98304 045509 99160 1608protgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017
22901814240 98304 043413 99160 1608protgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102320191017

Test failure

Implementation: crypto_dh/gls254prot/prot
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

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

Compiler output

Implementation: crypto_dh/gls254prot/prot
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: crypto_dh/gls254prot/prot
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