Implementation notes: amd64, sand, crypto_dh/ed521gs

Computer: sand
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20171218
Operation: crypto_dh
Primitive: ed521gs
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3485922? ? ?? ? ?refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2018041520171218
3524316? ? ?? ? ?refclang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2018041520171218
3529694? ? ?? ? ?refclang_-mcpu=cortex-a8_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2018041520171218
3529732? ? ?? ? ?refclang_-mcpu=native_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2018041520171218
3529804? ? ?? ? ?refclang_-O3_-fomit-frame-pointer_-Qunused-arguments2018041520171218
3562850? ? ?? ? ?refclang_-mcpu=cortex-a9_-mfpu=neon_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2018041520171218
6541874? ? ?? ? ?refcc2018041520171218

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: cc
try.c: /tmp/try-anything-78b9c6.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-f7afaf.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
try.c: /tmp/try-anything-6b84ba.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-1ff4cc.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
try.c: /tmp/try-anything-33e138.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-531d5f.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-ed71ca.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-16ecc4.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-e421b6.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-ed5bfe.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-759bb9.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-b776b5.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-2f372e.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-5ba233.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: random() may return deterministic values, is that what you want?

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: gcc
dh.c: dh.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type128'
dh.c: dh.c: In function 'gmuli':
dh.c: dh.c:155: error: 'type128' undeclared (first use in this function)
dh.c: dh.c:155: error: (Each undeclared identifier is reported only once
dh.c: dh.c:155: error: for each function it appears in.)
dh.c: dh.c:155: error: expected ';' before 't'
dh.c: dh.c:157: error: 't' undeclared (first use in this function)
dh.c: dh.c:157: error: expected ';' before 'w'
dh.c: dh.c:160: error: expected ';' before 'w'
dh.c: dh.c:163: error: expected ';' before 'w'
dh.c: dh.c:166: error: expected ';' before 'w'
dh.c: dh.c:169: error: expected ';' before 'w'
dh.c: dh.c:172: error: expected ';' before 'w'
dh.c: dh.c:175: error: expected ';' before 'w'
dh.c: dh.c:178: error: expected ';' before 'w'
dh.c: dh.c:181: error: expected ';' before 'w'
dh.c: dh.c: In function 'gsqr':
dh.c: dh.c:191: error: 'type128' undeclared (first use in this function)
dh.c: dh.c:191: error: expected ';' before 't0'
dh.c: dh.c:192: error: 't1' undeclared (first use in this function)
dh.c: dh.c:192: error: expected ')' before 'x'
dh.c: dh.c:192: error: expected ';' before 'x'
dh.c: dh.c:193: error: 't0' undeclared (first use in this function)
dh.c: dh.c:194: error: 't2' undeclared (first use in this function)
dh.c: dh.c:194: error: expected ')' before 'x'
dh.c: ...

Number of similar (compiler,implementation) pairs: 66, namely:
CompilerImplementations
gcc ref
gcc -O2 -fomit-frame-pointer ref
gcc -O3 -fomit-frame-pointer ref
gcc -O -fomit-frame-pointer ref
gcc -Os -fomit-frame-pointer ref
gcc -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops ref
gcc -funroll-loops -O2 -fomit-frame-pointer ref
gcc -funroll-loops -O3 -fomit-frame-pointer ref
gcc -funroll-loops -O -fomit-frame-pointer ref
gcc -funroll-loops -Os -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer ref
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer ref
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer ref
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer ref
gcc -m64 -O2 -fomit-frame-pointer ref
gcc -m64 -O3 -fomit-frame-pointer ref
gcc -m64 -O -fomit-frame-pointer ref
gcc -m64 -Os -fomit-frame-pointer ref
gcc -m64 -march=k8 -O2 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O3 -fomit-frame-pointer ref
gcc -m64 -march=k8 -O -fomit-frame-pointer ref
gcc -m64 -march=k8 -Os -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer ref
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer ref
gcc -m64 -march=nocona -O2 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O3 -fomit-frame-pointer ref
gcc -m64 -march=nocona -O -fomit-frame-pointer ref
gcc -m64 -march=nocona -Os -fomit-frame-pointer ref
gcc -march=k8 -O2 -fomit-frame-pointer ref
gcc -march=k8 -O3 -fomit-frame-pointer ref
gcc -march=k8 -O -fomit-frame-pointer ref
gcc -march=k8 -Os -fomit-frame-pointer ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv ref
gcc -march=nocona -O2 -fomit-frame-pointer ref
gcc -march=nocona -O3 -fomit-frame-pointer ref
gcc -march=nocona -O -fomit-frame-pointer ref
gcc -march=nocona -Os -fomit-frame-pointer ref