Implementation notes: amd64, sliver, crypto_dh/ed521gs

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_dh
Primitive: ed521gs

Compiler output

Implementation: crypto_dh/ed521gs/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
dh.c: dh.c:688:13: error: static declaration of 'select' follows non-static declaration
dh.c: static void select(ECp *T,ECp W[],int b)
dh.c: ^
dh.c: /usr/include/sys/select.h:109:5: note: previous declaration is here
dh.c: int select(int, fd_set * __restrict, fd_set * __restrict,
dh.c: ^
dh.c: dh.c:747:19: error: too few arguments to function call, expected 5, have 3
dh.c: select(&Q,W,w[i]);
dh.c: ~~~~~~ ^
dh.c: /usr/include/sys/select.h:109:1: note: 'select' declared here
dh.c: int select(int, fd_set * __restrict, fd_set * __restrict,
dh.c: ^
dh.c: dh.c:771:2: warning: implicit declaration of function 'randombytes' is invalid in C99 [-Wimplicit-function-declaration]
dh.c: randombytes(sk,PANES-1);
dh.c: ^
dh.c: 1 warning and 2 errors generated.

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: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
dh.c: dh.c:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type128'
dh.c: dh.c: In function 'gmuli':
dh.c: dh.c:154: error: 'type128' undeclared (first use in this function)
dh.c: dh.c:154: error: (Each undeclared identifier is reported only once
dh.c: dh.c:154: error: for each function it appears in.)
dh.c: dh.c:154: error: expected ';' before 't'
dh.c: dh.c:156: error: 't' undeclared (first use in this function)
dh.c: dh.c:156: error: expected ';' before 'w'
dh.c: dh.c:159: error: expected ';' before 'w'
dh.c: dh.c:162: error: expected ';' before 'w'
dh.c: dh.c:165: error: expected ';' before 'w'
dh.c: dh.c:168: error: expected ';' before 'w'
dh.c: dh.c:171: error: expected ';' before 'w'
dh.c: dh.c:174: error: expected ';' before 'w'
dh.c: dh.c:177: error: expected ';' before 'w'
dh.c: dh.c:180: error: expected ';' before 'w'
dh.c: dh.c: In function 'gsqr':
dh.c: dh.c:190: error: 'type128' undeclared (first use in this function)
dh.c: dh.c:190: error: expected ';' before 't0'
dh.c: dh.c:191: error: 't1' undeclared (first use in this function)
dh.c: dh.c:191: error: expected ')' before 'x'
dh.c: dh.c:191: error: expected ';' before 'x'
dh.c: dh.c:192: error: 't0' undeclared (first use in this function)
dh.c: dh.c:193: error: 't2' undeclared (first use in this function)
dh.c: dh.c:193: error: expected ')' before 'x'
dh.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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