Test results for armeabi, berry0, crypto_dh/nist521gs

[Page version: 20250206 00:27:24]

Measurements for armeabi, berry0, crypto_dh Test results for armeabi, berry0, crypto_dh Test results for crypto_dh/nist521gs
Computer: berry0
Microarchitecture: armeabi; ARM1176 (410fb767)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240909
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: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Raspbian_Clang_11.0.1)

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:109: 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:111: 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:109: 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:111: 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:111: 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:109: 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:109: 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 (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)