Implementation notes: amd64, sliver, crypto_dh/ecfp256i

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_dh
Primitive: ecfp256i
TimeImplementationCompilerBenchmark dateSUPERCOP version
2368098v01/vargcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072520160718
2448210v01/vargcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072520160718
2451396v01/vargcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072520160718
2523678v01/vargcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072520160718

Test failure

Implementation: crypto_dh/ecfp256i/v01/w8s1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
error 111
crypto_dh_keypair writes after output

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/var
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
alloc.c: alloc.c:77:11: warning: passing 'char [13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
alloc.c: kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:92:11: warning: passing 'char [13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
alloc.c: kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:108:11: warning: passing 'char [8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
alloc.c: kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:131:11: warning: passing 'char [33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
alloc.c: kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:152:12: warning: passing 'char [8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
alloc.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments v01/var v01/w8s1 v01/w8s2 v01/w8s4 v01/w8s8

Compiler output

Implementation: crypto_dh/ecfp256i/v01/var
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccChJGUn.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
try.c: /tmp//ccheETva.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
measure.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
measure.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv v01/var

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccExsEb4.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s2_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccMYcwsU.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s1_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccinjaRv.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s4_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s8
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccmc3OLp.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s8_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s8
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccVNGWCQ.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s8_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/var
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccWP744Q.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
try.c: /tmp//ccKl98Xy.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
measure.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
measure.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv v01/var

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s4
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cca90tyY.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s4_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s2
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccaIUYjk.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s2_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s1
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccqpHcJf.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s1_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/var
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cc0nG9Ef.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
try.c: /tmp//ccpvQqbU.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
measure.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
measure.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv v01/var

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s8
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cc8SFIss.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s8_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s2
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccAWQgbD.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s2_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s1
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccCpOMyQ.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s1_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s4
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccKUIvHl.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s4_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s2
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//cc0Vantl.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s2_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s4
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccL5RWZE.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s4_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s1
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccU6n7li.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s1_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/w8s8
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccapiIOx.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_w8s8_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

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

Compiler output

Implementation: crypto_dh/ecfp256i/v01/var
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccelRQFy.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
try.c: /tmp//ccJ7OLui.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
try.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?
measure.c: crypto_dh_ecfp256i.a(try_ec_fp_256i.o): In function `crypto_dh_ecfp256i_v01_var_keypair':
measure.c: try_ec_fp_256i.c:(.text+0x...): warning: warning: rand() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv v01/var