Implementation notes: amd64, pluton1mn, crypto_dh/ecfp256h

Computer: pluton1mn
Architecture: amd64
CPU ID: GenuineIntel-00050671-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_dh
Primitive: ecfp256h
TimeImplementationCompilerBenchmark dateSUPERCOP version
1663746v01/w8s8gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
1665930v01/w8s8icc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
1686496v01/w8s4icc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
1706012v01/w8s8gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731
1710002v01/w8s4icc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
1715770v01/w8s2gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
1715868v01/w8s8icc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
1718710v01/w8s8gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
1719970v01/w8s8gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731
1723904v01/w8s4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
1737162v01/w8s4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
1750770v01/w8s4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731
1753500v01/w8s4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731
1754326v01/w8s2icc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
1761102v01/w8s2gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
1770874v01/w8s2gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731
1784398v01/w8s1icc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
1791664v01/w8s2icc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
1802024v01/w8s1icc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
1815240v01/w8s2gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731
1815856v01/w8s1gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
1822660v01/w8s1gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731
1827546v01/w8s1gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
1838774v01/w8s1gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731
2861432v01/vargcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016080620160731
2861628v01/varicc -xMIC-AVX512 -O2 -fomit-frame-pointer2016080620160731
2878652v01/varicc -xMIC-AVX512 -O3 -fomit-frame-pointer2016080620160731
2887122v01/vargcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016080620160731
2921786v01/vargcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016080620160731
2960538v01/vargcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016080620160731

Compiler output

Implementation: crypto_dh/ecfp256h/v01/w8s1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s1_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:2: warning: implicit declaration of function 'ec_fp_smulbase_256h' [-Wimplicit-function-declaration]
try_ec_fp_256h.c: ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: ^~~~~~~~~~~~~~~~~~~

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

Compiler output

Implementation: crypto_dh/ecfp256h/v01/w8s2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s2_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:2: warning: implicit declaration of function 'ec_fp_smulbase_256h' [-Wimplicit-function-declaration]
try_ec_fp_256h.c: ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: ^~~~~~~~~~~~~~~~~~~

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

Compiler output

Implementation: crypto_dh/ecfp256h/v01/w8s4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s4_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:2: warning: implicit declaration of function 'ec_fp_smulbase_256h' [-Wimplicit-function-declaration]
try_ec_fp_256h.c: ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: ^~~~~~~~~~~~~~~~~~~

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

Compiler output

Implementation: crypto_dh/ecfp256h/v01/w8s8
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s8_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:2: warning: implicit declaration of function 'ec_fp_smulbase_256h' [-Wimplicit-function-declaration]
try_ec_fp_256h.c: ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: ^~~~~~~~~~~~~~~~~~~

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

Compiler output

Implementation: crypto_dh/ecfp256h/v01/w8s1
Compiler: icc -xMIC-AVX512 -O2 -fomit-frame-pointer
try_ec_fp_256h.c: try_ec_fp_256h.c(39): warning #266: function "ec_fp_smulbase_256h" declared implicitly
try_ec_fp_256h.c: ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: ^
try_ec_fp_256h.c:

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
icc -xMIC-AVX512 -O2 -fomit-frame-pointer v01/w8s1 v01/w8s2 v01/w8s4 v01/w8s8
icc -xMIC-AVX512 -O3 -fomit-frame-pointer v01/w8s1 v01/w8s2 v01/w8s4 v01/w8s8