Test results for armeabi, tinker, crypto_dh/nist521gs

[Page version: 20241215 22:35:41]

Measurements for armeabi, tinker, crypto_dh Test results for armeabi, tinker, crypto_dh Test results for crypto_dh/nist521gs
Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20241022
Operation: crypto_dh
Primitive: nist521gs

Compiler output


dh.c: dh.c:14:9: error: __int128 is not supported on this target
dh.c: typedef __int128 type128;
dh.c:         ^
dh.c: dh.c:792:8: warning: unused variable 'k' [-Wunused-variable]
dh.c:         int i,k,j,m;
dh.c:               ^
dh.c: dh.c:792:10: warning: unused variable 'j' [-Wunused-variable]
dh.c:         int i,k,j,m;
dh.c:                 ^
dh.c: dh.c:792:12: warning: unused variable 'm' [-Wunused-variable]
dh.c:         int i,k,j,m;
dh.c:                   ^
dh.c: dh.c:793:6: warning: unused variable 'tsc' [-Wunused-variable]
dh.c:         int tsc,tmc;
dh.c:             ^
dh.c: dh.c:793:10: warning: unused variable 'tmc' [-Wunused-variable]
dh.c:         int tsc,tmc;
dh.c:                 ^
dh.c: dh.c:794:25: warning: unused variable 'S' [-Wunused-variable]
dh.c:         ECp W[(1<<(WINDOW-1))],S[2],Q;
dh.c:                                ^
dh.c: dh.c:823:8: warning: unused variable 'x' [-Wunused-variable]
dh.c:         int i,x,w[PANES];
dh.c:               ^
dh.c: dh.c:876:8: warning: unused variable 'x' [-Wunused-variable]
dh.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)

Compiler output


dh.c: dh.c:14:9: error: ‘__int128’ is not supported on this target
dh.c:    14 | typedef __int128 type128;
dh.c:       |         ^~~~~~~~
dh.c: dh.c: In function ‘gsqr’:
dh.c: dh.c:279:116: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   279 |         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:281:118: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   281 |         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:283:116: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   283 |         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:285:118: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   285 |         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:287:118: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   287 |         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:289:116: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   289 |         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:291:116: warning: right shift count >= width of type [-Wshift-count-overflow]
dh.c:   291 |         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 (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)