Implementation notes: amd64, pmnod076, crypto_dh/gls1271

Computer: pmnod076
Architecture: amd64
CPU ID: GenuineIntel-00050657-bfebfbff
SUPERCOP version: 20191017
Operation: crypto_dh
Primitive: gls1271
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
510838126810 0 80161920 888 1672ref4icc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102320191017
514694126810 0 80161920 888 1672ref4icc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102320191017
515300126810 0 80161920 888 1672ref4icc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102320191017
518028129418 0 80165768 888 1704ref4icc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer2019102320191017
518362127130 0 80162336 888 1672ref4icc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102320191017
518552128218 0 80163928 888 1704ref4icc_-march=skylake-avx512_-mtune=skylake-avx512_-O3_-fomit-frame-pointer2019102320191017
519098125034 0 80158936 888 1672ref4icc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102320191017
519194124330 0 80158176 888 1672ref4icc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102320191017
519422126346 0 80161520 888 1672ref4icc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102320191017
520338127130 0 80162336 888 1672ref4icc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102320191017
520366127370 0 80163192 888 1704ref4icc_-march=skylake-avx512_-mtune=skylake-avx512_-O2_-fomit-frame-pointer2019102320191017
520418126810 0 80161920 888 1672ref4icc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102320191017
520770126346 0 80161520 888 1672ref4icc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102320191017
520980126346 0 80161520 888 1672ref4icc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102320191017
521144126346 0 80161520 888 1672ref4icc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102320191017
526582125978 0 80161488 888 1672ref4icc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102320191017

Test failure

Implementation: crypto_dh/gls1271/ref4
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref4

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_keypair':
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init'; did you mean 'ebrick_init'? [-Wimplicit-function-declaration]
gls1271.c: 385 | ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: | ^~~~~~~~~~~~~~~
gls1271.c: | ebrick_init
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
gls1271.c: 391 | randombytes(sk,32);
gls1271.c: | ^~~~~~~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrecn2.c: 20 | moddiv2(w->a->w);
mrecn2.c: | ^~~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2' [-Wimplicit-function-declaration]
mrecn2.c: 32 | modtim2(w->a->w);
mrecn2.c: | ^~~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3' [-Wimplicit-function-declaration]
mrecn2.c: 44 | modtim3(w->a->w);
mrecn2.c: | ^~~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd' [-Wimplicit-function-declaration]
mrecn2.c: 70 | modadd(x->a->w,y->a->w,w->a->w);
mrecn2.c: | ^~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub' [-Wimplicit-function-declaration]
mrecn2.c: 81 | modsub(x->a->w,y->a->w,w->a->w);
mrecn2.c: | ^~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_timesi_i':
mrecn2.c: mrecn2.c:96:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrecn2.c: 96 | modneg(u->a->w);
mrecn2.c: | ^~~~~~
mrecn2.c: mrecn2.c: In function 'zzn2_imul_i':
mrecn2.c: ...

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

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
gls1271.c: gls1271.c(385): warning #266: function "ecn2_brick_init" declared implicitly
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c:
gls1271.c: gls1271.c(391): warning #266: function "randombytes" declared implicitly
gls1271.c: randombytes(sk,32);
gls1271.c: ^
gls1271.c:
mrecn2.c: mrecn2.c(20): warning #266: function "moddiv2" declared implicitly
mrecn2.c: moddiv2(w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(32): warning #266: function "modtim2" declared implicitly
mrecn2.c: modtim2(w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(44): warning #266: function "modtim3" declared implicitly
mrecn2.c: modtim3(w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(70): warning #266: function "modadd" declared implicitly
mrecn2.c: modadd(x->a->w,y->a->w,w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(81): warning #266: function "modsub" declared implicitly
mrecn2.c: modsub(x->a->w,y->a->w,w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(96): warning #266: function "modneg" declared implicitly
mrecn2.c: modneg(u->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(137): warning #266: function "modpmul" declared implicitly
mrecn2.c: ...

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref4
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref4
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref4
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref4
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref4
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref4
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer ref4

Compiler output

Implementation: crypto_dh/gls1271/ref4
Compiler: icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer
gls1271.c: gls1271.c(385): warning #266: function "ecn2_brick_init" declared implicitly
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c:
gls1271.c: gls1271.c(391): warning #266: function "randombytes" declared implicitly
gls1271.c: randombytes(sk,32);
gls1271.c: ^
gls1271.c:
mrecn2.c: mrecn2.c(20): warning #266: function "moddiv2" declared implicitly
mrecn2.c: moddiv2(w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(32): warning #266: function "modtim2" declared implicitly
mrecn2.c: modtim2(w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(44): warning #266: function "modtim3" declared implicitly
mrecn2.c: modtim3(w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(70): warning #266: function "modadd" declared implicitly
mrecn2.c: modadd(x->a->w,y->a->w,w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(81): warning #266: function "modsub" declared implicitly
mrecn2.c: modsub(x->a->w,y->a->w,w->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(96): warning #266: function "modneg" declared implicitly
mrecn2.c: modneg(u->a->w);
mrecn2.c: ^
mrecn2.c:
mrecn2.c: mrecn2.c(137): warning #266: function "modpmul" declared implicitly
mrecn2.c: ...
mrmonty.c: mrmonty.c(752): warning #266: function "modneg" declared implicitly
mrmonty.c: modneg(w->w);
mrmonty.c: ^
mrmonty.c:
mrmonty.c: mrmonty.c(901): warning #266: function "modadd" declared implicitly
mrmonty.c: modadd(x->w,y->w,w->w);
mrmonty.c: ^
mrmonty.c:
mrmonty.c: mrmonty.c(935): warning #266: function "modsub" declared implicitly
mrmonty.c: modsub(x->w,y->w,w->w);
mrmonty.c: ^
mrmonty.c:
mrmonty.c: mrmonty.c(1075): warning #266: function "modsqr" declared implicitly
mrmonty.c: if (x==y) modsqr(x->w,w->w);
mrmonty.c: ^
mrmonty.c:
mrmonty.c: mrmonty.c(1076): warning #266: function "modmult" declared implicitly
mrmonty.c: else modmult(x->w,y->w,w->w);
mrmonty.c: ^
mrmonty.c:
mrzzn2.c: mrzzn2.c(37): warning #266: function "modsub" declared implicitly
mrzzn2.c: modsub(x->a->w,y->a->w,w->a->w);
mrzzn2.c: ^
mrzzn2.c:
mrzzn2.c: mrzzn2.c(59): warning #266: function "modadd" declared implicitly
mrzzn2.c: modadd(x->a->w,y->a->w,w->a->w);
mrzzn2.c: ^
mrzzn2.c:
mrzzn2.c: mrzzn2.c(174): warning #266: function "modneg" declared implicitly
mrzzn2.c: modneg(w->a->w);
mrzzn2.c: ^
mrzzn2.c:
mrzzn2.c: mrzzn2.c(319): warning #266: function "moddiv2" declared implicitly
mrzzn2.c: moddiv2(w->a->w);
mrzzn2.c: ^
mrzzn2.c:
mrzzn2.c: mrzzn2.c(512): warning #266: function "modadd" declared implicitly
mrzzn2.c: modadd(x->a->w,x->b->w,mr_mip->w1->w);
mrzzn2.c: ^
mrzzn2.c:
mrzzn2.c: mrzzn2.c(513): warning #266: function "modsub" declared implicitly
mrzzn2.c: modsub(x->a->w,x->b->w,mr_mip->w2->w);
mrzzn2.c: ^
mrzzn2.c:
mrzzn2.c: mrzzn2.c(514): warning #266: function "modmult" declared implicitly
mrzzn2.c: ...

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