Implementation notes: amd64, pmnod003, crypto_dh/gls254

Computer: pmnod003
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20190816
Operation: crypto_dh
Primitive: gls254
TimeImplementationCompilerBenchmark dateSUPERCOP version
140664opticc -xCORE-AVX512 -O3 -fomit-frame-pointer2019081920190816
140730opticc -xCORE-AVX512 -O2 -fomit-frame-pointer2019081920190816
150370optgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2019081920190816
152400optgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2019081920190816
152566opticc -xAVX -O2 -fomit-frame-pointer2019081920190816
152632opticc -xCORE-AVX2 -O2 -fomit-frame-pointer2019081920190816
152634opticc -xCORE-AVX-I -O2 -fomit-frame-pointer2019081920190816
152872opticc -xAVX -O3 -fomit-frame-pointer2019081920190816
152914opticc -xCORE-AVX-I -O3 -fomit-frame-pointer2019081920190816
153070opticc -xCOMMON-AVX512 -O2 -fomit-frame-pointer2019081920190816
153310opticc -xCORE-AVX2 -O3 -fomit-frame-pointer2019081920190816
153654opticc -xCOMMON-AVX512 -O3 -fomit-frame-pointer2019081920190816
160474opticc -xSSE4.1 -O3 -fomit-frame-pointer2019081920190816
160578opticc -xSSE4.2 -O3 -fomit-frame-pointer2019081920190816
161928opticc -xSSE4.1 -O2 -fomit-frame-pointer2019081920190816
161938opticc -xSSE4.2 -O2 -fomit-frame-pointer2019081920190816
163162reficc -xCORE-AVX512 -O3 -fomit-frame-pointer2019081920190816
166574optgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2019081920190816
168498reficc -xCORE-AVX512 -O2 -fomit-frame-pointer2019081920190816
171454optgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2019081920190816
175560reficc -xCORE-AVX-I -O2 -fomit-frame-pointer2019081920190816
175728reficc -xCORE-AVX2 -O2 -fomit-frame-pointer2019081920190816
175962reficc -xAVX -O2 -fomit-frame-pointer2019081920190816
175982reficc -xCORE-AVX-I -O3 -fomit-frame-pointer2019081920190816
176086reficc -xCORE-AVX2 -O3 -fomit-frame-pointer2019081920190816
176794reficc -xCOMMON-AVX512 -O2 -fomit-frame-pointer2019081920190816
177098reficc -xAVX -O3 -fomit-frame-pointer2019081920190816
177722reficc -xCOMMON-AVX512 -O3 -fomit-frame-pointer2019081920190816
179808reficc -xSSE4.2 -O2 -fomit-frame-pointer2019081920190816
180038reficc -xSSE4.2 -O3 -fomit-frame-pointer2019081920190816
180446refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2019081920190816
187102refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2019081920190816
191682refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2019081920190816
192728refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2019081920190816
203922proticc -xCORE-AVX512 -O3 -fomit-frame-pointer2019081920190816
204098proticc -xCORE-AVX512 -O2 -fomit-frame-pointer2019081920190816
211288protgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2019081920190816
216682proticc -xCOMMON-AVX512 -O3 -fomit-frame-pointer2019081920190816
217022proticc -xCOMMON-AVX512 -O2 -fomit-frame-pointer2019081920190816
217056proticc -xCORE-AVX2 -O2 -fomit-frame-pointer2019081920190816
217136proticc -xCORE-AVX-I -O3 -fomit-frame-pointer2019081920190816
217354proticc -xAVX -O3 -fomit-frame-pointer2019081920190816
217500proticc -xCORE-AVX-I -O2 -fomit-frame-pointer2019081920190816
217502proticc -xAVX -O2 -fomit-frame-pointer2019081920190816
218538proticc -xCORE-AVX2 -O3 -fomit-frame-pointer2019081920190816
226476protgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2019081920190816
229568protgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2019081920190816

Test failure

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

Number of similar (compiler,implementation) pairs: 7, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv prot
icc -xSSE4.1 -O2 -fomit-frame-pointer prot ref
icc -xSSE4.1 -O3 -fomit-frame-pointer prot ref
icc -xSSE4.2 -O2 -fomit-frame-pointer prot
icc -xSSE4.2 -O3 -fomit-frame-pointer prot

Compiler output

Implementation: crypto_dh/gls254/prot
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
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 prot
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv prot
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv prot

Compiler output

Implementation: crypto_dh/gls254/ref
Compiler: icc -xAVX -O2 -fomit-frame-pointer
dh.c: In file included from dh.c(6):
dh.c: curves.incl(96): warning #266: function "rand" declared implicitly
dh.c: for (j=0;j dh.c: ^
dh.c:
dh.c: In file included from dh.c(6):
dh.c: curves.incl(109): warning #266: function "rand" declared implicitly
dh.c: for (j=0;j dh.c: ^
dh.c:

Number of similar (compiler,implementation) pairs: 14, namely:
CompilerImplementations
icc -xAVX -O2 -fomit-frame-pointer ref
icc -xAVX -O3 -fomit-frame-pointer ref
icc -xCOMMON-AVX512 -O2 -fomit-frame-pointer ref
icc -xCOMMON-AVX512 -O3 -fomit-frame-pointer ref
icc -xCORE-AVX-I -O2 -fomit-frame-pointer ref
icc -xCORE-AVX-I -O3 -fomit-frame-pointer ref
icc -xCORE-AVX2 -O2 -fomit-frame-pointer ref
icc -xCORE-AVX2 -O3 -fomit-frame-pointer ref
icc -xCORE-AVX512 -O2 -fomit-frame-pointer ref
icc -xCORE-AVX512 -O3 -fomit-frame-pointer ref
icc -xSSE4.1 -O2 -fomit-frame-pointer ref
icc -xSSE4.1 -O3 -fomit-frame-pointer ref
icc -xSSE4.2 -O2 -fomit-frame-pointer ref
icc -xSSE4.2 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: crypto_dh/gls254/prot
Compiler: icc -xAVX -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: 14, namely:
CompilerImplementations
icc -xAVX -O2 -fomit-frame-pointer prot
icc -xAVX -O3 -fomit-frame-pointer prot
icc -xCOMMON-AVX512 -O2 -fomit-frame-pointer prot
icc -xCOMMON-AVX512 -O3 -fomit-frame-pointer prot
icc -xCORE-AVX-I -O2 -fomit-frame-pointer prot
icc -xCORE-AVX-I -O3 -fomit-frame-pointer prot
icc -xCORE-AVX2 -O2 -fomit-frame-pointer prot
icc -xCORE-AVX2 -O3 -fomit-frame-pointer prot
icc -xCORE-AVX512 -O2 -fomit-frame-pointer prot
icc -xCORE-AVX512 -O3 -fomit-frame-pointer prot
icc -xSSE4.1 -O2 -fomit-frame-pointer prot
icc -xSSE4.1 -O3 -fomit-frame-pointer prot
icc -xSSE4.2 -O2 -fomit-frame-pointer prot
icc -xSSE4.2 -O3 -fomit-frame-pointer prot