Implementation notes: amd64, par, crypto_dh/gls254prot

Computer: par
Architecture: amd64
CPU ID: GenuineIntel-000406c3-bfebfbff
SUPERCOP version: 20161026
Operation: crypto_dh
Primitive: gls254prot
TimeImplementationCompilerBenchmark dateSUPERCOP version
810860protgcc -march=native -mcpu=native -O32016121420161026
846300protgcc -march=native -mcpu=native -O22016121420161026
856040protgcc -funroll-loops -march=native -mcpu=native -O22016121420161026
856600protgcc -funroll-loops -march=native -mcpu=native -O32016121420161026

Checksum failure

Implementation: crypto_dh/gls254prot/opt
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
f5c30b272eb62f8e5228048e5e1de6dd2170295d40e4a9f96b93b7dad84775dd
Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O2 opt
gcc -funroll-loops -march=native -mcpu=native -O3 opt
gcc -funroll-loops -march=native -mcpu=native -Os opt
gcc -march=native -mcpu=native -O2 opt
gcc -march=native -mcpu=native -O3 opt
gcc -march=native -mcpu=native -Os opt

Test failure

Implementation: crypto_dh/gls254prot/prot
Compiler: gcc -funroll-loops -march=native -mcpu=native -Os
error 111

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -Os prot
gcc -march=native -mcpu=native -Os prot

Compiler output

Implementation: crypto_dh/gls254prot/prot
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
dh.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2' [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy' [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
types.S: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
measure.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O2 prot
gcc -funroll-loops -march=native -mcpu=native -O3 prot
gcc -march=native -mcpu=native -O2 prot
gcc -march=native -mcpu=native -O3 prot

Compiler output

Implementation: crypto_dh/gls254prot/opt
Compiler: gcc -funroll-loops -march=native -mcpu=native -O2
dh.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -O2 opt
gcc -funroll-loops -march=native -mcpu=native -O3 opt
gcc -funroll-loops -march=native -mcpu=native -Os opt
gcc -march=native -mcpu=native -O2 opt
gcc -march=native -mcpu=native -O3 opt
gcc -march=native -mcpu=native -Os opt

Compiler output

Implementation: crypto_dh/gls254prot/prot
Compiler: gcc -funroll-loops -march=native -mcpu=native -Os
dh.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
dh.c: In file included from dh.c:9:0:
dh.c: scmul.incl: In function 'scmul_rand_wreg':
dh.c: scmul.incl:273:17: warning: implicit declaration of function 'types_cond_copy2' [-Wimplicit-function-declaration]
dh.c: types_cond_copy2(tab0, tab4, tabx, n1, n2);
dh.c: ^~~~~~~~~~~~~~~~
dh.c: scmul.incl:284:9: warning: implicit declaration of function 'types_cond_copy' [-Wimplicit-function-declaration]
dh.c: types_cond_copy(QX, tab0, o1);
dh.c: ^~~~~~~~~~~~~~~
types.S: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
try.c: gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -funroll-loops -march=native -mcpu=native -Os prot
gcc -march=native -mcpu=native -Os prot