Test results for amd64, hydra4, crypto_dh/gls1271

[Page version: 20240911 13:30:47]

Measurements for amd64, hydra4, crypto_dh Test results for amd64, hydra4, crypto_dh Test results for crypto_dh/gls1271
Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240909
Operation: crypto_dh
Primitive: gls1271
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
72871175519 0 8096808 788 1880T:ref4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
73005166587 0 8087704 820 1816T:ref4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
73006566587 0 8087704 820 1816T:ref4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
73060463961 0 8084104 788 1880T:ref4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
73204065138 0 8085424 820 1816T:ref4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
73775453121 0 8071438 812 1816T:ref4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
80104057200 0 8076208 788 1880T:ref4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
87954446619 0 8065558 812 1816T:ref4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024062920240625
90816143018 0 8060976 780 1848T:ref4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024062920240625

Compiler output


gls1271.c: gls1271.c:386:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c:         ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c:         ^
gls1271.c: gls1271.c:352:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:416:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:419:12: warning: unused variable 'y' [-Wunused-variable]
gls1271.c:     zzn2 x,y,psi[2];
gls1271.c:            ^
gls1271.c: 4 warnings generated.
mrarth1.c: mrarth1.c:747:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:746:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:833:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: 4 warnings generated.
mrcore.c: mrcore.c:1376:9: warning: unused variable 'i' [-Wunused-variable]
mrcore.c:     int i;
mrcore.c:         ^
mrcore.c: 1 warning generated.
mrecn2.c: mrecn2.c:222:11: warning: unused variable 't' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:           ^
mrecn2.c: mrecn2.c:222:13: warning: unused variable 'js' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:             ^
mrecn2.c: mrecn2.c:18:20: warning: unused function 'zzn2_div2_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_div2_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: mrecn2.c:38:20: warning: unused function 'zzn2_tim3_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_tim3_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:ref4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


gls1271.c: gls1271.c:386:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c:         ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c:         ^
gls1271.c: gls1271.c:352:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:419:12: warning: unused variable 'y' [-Wunused-variable]
gls1271.c:     zzn2 x,y,psi[2];
gls1271.c:            ^
gls1271.c: gls1271.c:416:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: 4 warnings generated.
mrarth1.c: mrarth1.c:747:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:746:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:833:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: 4 warnings generated.
mrcore.c: mrcore.c:1376:9: warning: unused variable 'i' [-Wunused-variable]
mrcore.c:     int i;
mrcore.c:         ^
mrcore.c: 1 warning generated.
mrecn2.c: mrecn2.c:222:13: warning: unused variable 'js' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:             ^
mrecn2.c: mrecn2.c:222:11: warning: unused variable 't' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:           ^
mrecn2.c: mrecn2.c:18:20: warning: unused function 'zzn2_div2_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_div2_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: mrecn2.c:38:20: warning: unused function 'zzn2_tim3_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_tim3_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:ref4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


gls1271.c: gls1271.c:386:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c:         ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c:         ^
gls1271.c: gls1271.c:352:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:416:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:419:12: warning: unused variable 'y' [-Wunused-variable]
gls1271.c:     zzn2 x,y,psi[2];
gls1271.c:            ^
gls1271.c: 4 warnings generated.
mrarth1.c: mrarth1.c:746:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:747:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:833:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: 4 warnings generated.
mrcore.c: mrcore.c:1376:9: warning: unused variable 'i' [-Wunused-variable]
mrcore.c:     int i;
mrcore.c:         ^
mrcore.c: 1 warning generated.
mrecn2.c: mrecn2.c:222:13: warning: unused variable 'js' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:             ^
mrecn2.c: mrecn2.c:222:11: warning: unused variable 't' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:           ^
mrecn2.c: mrecn2.c:18:20: warning: unused function 'zzn2_div2_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_div2_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: mrecn2.c:38:20: warning: unused function 'zzn2_tim3_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_tim3_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:ref4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


gls1271.c: gls1271.c:386:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c:         ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c:         ^
gls1271.c: gls1271.c:352:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:419:12: warning: unused variable 'y' [-Wunused-variable]
gls1271.c:     zzn2 x,y,psi[2];
gls1271.c:            ^
gls1271.c: gls1271.c:416:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: 4 warnings generated.
mrarth1.c: mrarth1.c:746:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:747:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:833:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: 4 warnings generated.
mrcore.c: mrcore.c:1376:9: warning: unused variable 'i' [-Wunused-variable]
mrcore.c:     int i;
mrcore.c:         ^
mrcore.c: 1 warning generated.
mrecn2.c: mrecn2.c:222:13: warning: unused variable 'js' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:             ^
mrecn2.c: mrecn2.c:222:11: warning: unused variable 't' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:           ^
mrecn2.c: mrecn2.c:18:20: warning: unused function 'zzn2_div2_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_div2_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: mrecn2.c:38:20: warning: unused function 'zzn2_tim3_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_tim3_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:ref4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


gls1271.c: gls1271.c:386:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c:         ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c:         ^
gls1271.c: gls1271.c:352:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:416:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:     int i,promptr;
gls1271.c:         ^
gls1271.c: gls1271.c:419:12: warning: unused variable 'y' [-Wunused-variable]
gls1271.c:     zzn2 x,y,psi[2];
gls1271.c:            ^
gls1271.c: 4 warnings generated.
mrarth1.c: mrarth1.c:746:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:747:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: mrarth1.c:833:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:     unsigned int dig;
mrarth1.c:                  ^
mrarth1.c: 4 warnings generated.
mrcore.c: mrcore.c:1376:9: warning: unused variable 'i' [-Wunused-variable]
mrcore.c:     int i;
mrcore.c:         ^
mrcore.c: 1 warning generated.
mrecn2.c: mrecn2.c:222:11: warning: unused variable 't' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:           ^
mrecn2.c: mrecn2.c:222:13: warning: unused variable 'js' [-Wunused-variable]
mrecn2.c:     int i,t,js;
mrecn2.c:             ^
mrecn2.c: mrecn2.c:18:20: warning: unused function 'zzn2_div2_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_div2_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: mrecn2.c:38:20: warning: unused function 'zzn2_tim3_i' [-Wunused-function]
mrecn2.c: static inline void zzn2_tim3_i(zzn2 *w)
mrecn2.c:                    ^
mrecn2.c: 4 warnings generated.

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

Compiler output


gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_timingleaks_keypair':
gls1271.c: gls1271.c:386:2: warning: implicit declaration of function 'ecn2_brick_init'; did you mean 'ebrick_init'? [-Wimplicit-function-declaration]
gls1271.c:   386 |  ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c:       |  ^~~~~~~~~~~~~~~
gls1271.c:       |  ebrick_init
gls1271.c: gls1271.c:352:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:   352 |     int i,promptr;
gls1271.c:       |         ^
gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_timingleaks':
gls1271.c: gls1271.c:419:12: warning: unused variable 'y' [-Wunused-variable]
gls1271.c:   419 |     zzn2 x,y,psi[2];
gls1271.c:       |            ^
gls1271.c: gls1271.c:416:9: warning: unused variable 'i' [-Wunused-variable]
gls1271.c:   416 |     int i,promptr;
gls1271.c:       |         ^
mrarth1.c: mrarth1.c: In function 'mr_pmul':
mrarth1.c: mrarth1.c:97:25: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:    97 |     mr_small carry,*xg,*zg;
mrarth1.c:       |                         ^~
mrarth1.c: mrarth1.c:97:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:    97 |     mr_small carry,*xg,*zg;
mrarth1.c:       |                     ^~
mrarth1.c: mrarth1.c: In function 'mr_sdiv':
mrarth1.c: mrarth1.c:378:22: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:   378 |     mr_small sr,*xg,*zg;
mrarth1.c:       |                      ^~
mrarth1.c: mrarth1.c:378:18: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:   378 |     mr_small sr,*xg,*zg;
mrarth1.c:       |                  ^~
mrarth1.c: mrarth1.c: In function 'bytes_to_big':
mrarth1.c: mrarth1.c:747:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:   747 |     unsigned char ch;
mrarth1.c:       |                   ^~
mrarth1.c: mrarth1.c:746:18: warning: unused variable 'dig' [-Wunused-variable]
mrarth1.c:   746 |     unsigned int dig;
mrarth1.c:       |                  ^~~
mrarth1.c: mrarth1.c: In function 'big_to_bytes':
mrarth1.c: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:   834 |     unsigned char ch;
mrarth1.c:       |                   ^~
mrarth1.c: ...
mrarth2.c: mrarth2.c: In function 'multiply':
mrarth2.c: mrarth2.c:65:29: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:    65 |     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:       |                             ^~~
mrarth2.c: mrarth2.c:65:25: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:    65 |     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:       |                         ^~
mrarth2.c: mrarth2.c:65:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth2.c:    65 |     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:       |                     ^~
mrarth2.c: mrarth2.c: In function 'divide':
mrarth2.c: mrarth2.c:834:31: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:   834 |     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:       |                               ^~
mrarth2.c: mrarth2.c:834:26: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:   834 |     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:       |                          ^~~
mrcore.c: mrcore.c: In function 'mirexit':
mrcore.c: mrcore.c:1376:9: warning: unused variable 'i' [-Wunused-variable]
mrcore.c:  1376 |     int i;
mrcore.c:       |         ^
mrecn2.c: mrecn2.c: In function 'nres_sqroot':
mrecn2.c: mrecn2.c:222:13: warning: unused variable 'js' [-Wunused-variable]
mrecn2.c:   222 |     int i,t,js;
mrecn2.c:       |             ^~
mrecn2.c: mrecn2.c:222:11: warning: unused variable 't' [-Wunused-variable]
mrecn2.c:   222 |     int i,t,js;
mrecn2.c:       |           ^
mrecn2.c: mrecn2.c: In function 'ecn2_sub':
mrecn2.c: mrecn2.c:846:10: warning: variable 'lam' set but not used [-Wunused-but-set-variable]
mrecn2.c:   846 |     zzn2 lam;
mrecn2.c:       |          ^~~
mrecn2.c: mrecn2.c: In function 'ecn2_precomp_gls':
mrecn2.c: mrecn2.c:1231:11: warning: variable 'j' set but not used [-Wunused-but-set-variable]
mrecn2.c:  1231 |     int i,j;
mrecn2.c:       |           ^
mrmonty.c: mrmonty.c: In function 'redc':
mrmonty.c: mrmonty.c:264:46: warning: variable 'mg' set but not used [-Wunused-but-set-variable]
mrmonty.c:   264 |     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:       |                                              ^~
mrmonty.c: mrmonty.c:264:41: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrmonty.c:   264 |     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:       |                                         ^~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:ref4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:ref4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:ref4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:ref4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)