Implementation notes: armeabi, berry2, crypto_dh/nist521gs

Computer: berry2
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_dh
Primitive: nist521gs

Compiler output

Implementation: crypto_dh/nist521gs/ref
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
dh.c: dh.c:13:9: error: __int128 is not supported on this target
dh.c: typedef __int128 type128;
dh.c: ^
dh.c: dh.c:831: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 1 error generated.

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

Compiler output

Implementation: crypto_dh/nist521gs/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
dh.c: dh.c:13:9: error: '__int128' is not supported on this target
dh.c: typedef __int128 type128;
dh.c: ^~~~~~~~
dh.c: dh.c: In function 'gsqr':
dh.c: dh.c:278:109: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t2=4*((type128)x[1]*x[8]+(type128)x[2]*x[7]+(type128)x[3]*x[6]+(type128)x[4]*x[5])+(type128)x[0]*x[0]+2*(t1>>58);
dh.c: ^~
dh.c: dh.c:280:111: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t1=4*((type128)x[2]*x[8]+(type128)x[3]*x[7]+(type128)x[4]*x[6])+2*((type128)x[0]*x[1]+(type128)x[5]*x[5])+(t2>>58);
dh.c: ^~
dh.c: dh.c:282:109: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t2=4*((type128)x[3]*x[8]+(type128)x[4]*x[7]+(type128)x[5]*x[6])+2*(type128)x[0]*x[2]+(type128)x[1]*x[1]+(t1>>58);
dh.c: ^~
dh.c: dh.c:284:111: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t1=4*((type128)x[4]*x[8]+(type128)x[5]*x[7])+2*((type128)x[0]*x[3]+(type128)x[1]*x[2]+(type128)x[6]*x[6])+(t2>>58);
dh.c: ^~
dh.c: dh.c:286:111: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t2=4*((type128)x[5]*x[8]+(type128)x[6]*x[7])+2*((type128)x[0]*x[4]+(type128)x[1]*x[3])+(type128)x[2]*x[2]+(t1>>58);
dh.c: ^~
dh.c: dh.c:288:109: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t1=4*(type128)x[6]*x[8]+2*((type128)x[0]*x[5]+(type128)x[1]*x[4]+(type128)x[2]*x[3]+(type128)x[7]*x[7])+(t2>>58);
dh.c: ^~
dh.c: dh.c:290:109: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c: t2=4*(type128)x[7]*x[8]+2*((type128)x[0]*x[6]+(type128)x[1]*x[5]+(type128)x[2]*x[4])+(type128)x[3]*x[3]+(t1>>58);
dh.c: ^~
dh.c: ...

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