Implementation notes: amd64, pmnod003, crypto_dh/gls254prot

Computer: pmnod003
Architecture: amd64
CPU ID: GenuineIntel-00050654-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_dh
Primitive: gls254prot
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14997431296 0 065980 880 1608opticc_-xCORE-AVX512_-O3_-fomit-frame-pointer2019091220190910
15003431312 0 066092 880 1608opticc_-xCORE-AVX512_-O2_-fomit-frame-pointer2019091220190910
16112823321 0 055217 848 1608optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
16213230544 0 064895 888 1576opticc_-xAVX_-O3_-fomit-frame-pointer2019091220190910
16265230768 0 065284 880 1576opticc_-xCORE-AVX2_-O2_-fomit-frame-pointer2019091220190910
16266022009 0 051233 848 1608optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
16271430768 0 065087 888 1576opticc_-xAVX_-O2_-fomit-frame-pointer2019091220190910
16286830768 0 065087 888 1576opticc_-xCORE-AVX-I_-O2_-fomit-frame-pointer2019091220190910
16294630544 0 064644 880 1576opticc_-xCORE-AVX2_-O3_-fomit-frame-pointer2019091220190910
16308230880 0 065772 880 1608opticc_-xCOMMON-AVX512_-O2_-fomit-frame-pointer2019091220190910
16314430544 0 064895 888 1576opticc_-xCORE-AVX-I_-O3_-fomit-frame-pointer2019091220190910
16370630848 0 065212 880 1608opticc_-xCOMMON-AVX512_-O3_-fomit-frame-pointer2019091220190910
16895835456 0 068487 888 1576opticc_-xSSE4.2_-O3_-fomit-frame-pointer2019091220190910
17057835456 0 068755 888 1576opticc_-xSSE4.1_-O3_-fomit-frame-pointer2019091220190910
17230436032 0 069007 888 1576opticc_-xSSE4.2_-O2_-fomit-frame-pointer2019091220190910
17231636032 0 069259 888 1576opticc_-xSSE4.1_-O2_-fomit-frame-pointer2019091220190910
17813220057 0 048049 840 1608optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
18126822168 0 051121 848 1608optgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
20402237368 100352 072172 101240 1608proticc_-xCORE-AVX512_-O3_-fomit-frame-pointer2019091220190910
20418636224 100352 071124 101240 1608proticc_-xCORE-AVX512_-O2_-fomit-frame-pointer2019091220190910
21645635688 100352 069908 101240 1576proticc_-xCORE-AVX2_-O3_-fomit-frame-pointer2019091220190910
21651435448 100352 069932 101240 1608proticc_-xCOMMON-AVX512_-O3_-fomit-frame-pointer2019091220190910
21689234512 100352 069148 101240 1576proticc_-xCORE-AVX2_-O2_-fomit-frame-pointer2019091220190910
21703035760 100352 070231 101248 1576proticc_-xAVX_-O3_-fomit-frame-pointer2019091220190910
21737434400 100352 068839 101248 1576proticc_-xCORE-AVX-I_-O2_-fomit-frame-pointer2019091220190910
21738634400 100352 068839 101248 1576proticc_-xAVX_-O2_-fomit-frame-pointer2019091220190910
21743434208 100352 069220 101240 1608proticc_-xCOMMON-AVX512_-O2_-fomit-frame-pointer2019091220190910
22011835760 100352 070231 101248 1576proticc_-xCORE-AVX-I_-O3_-fomit-frame-pointer2019091220190910
22676615739 98304 045321 99160 1608protgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
22911214240 98304 043225 99160 1608protgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910
24150034049 98304 066329 99160 1608protgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091220190910

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: 5, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE 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

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 -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