Implementation notes: amd64, titan0, crypto_dh/gls1271

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: gls1271
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
62996670281 0 8094592 868 1824T:ref4clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
63518453962 0 8074978 860 1888T:ref4clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
63597068376 0 8092424 868 1824T:ref4clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
63705266992 0 8089808 868 1824T:ref4clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
64009659840 0 8080168 868 1824T:ref4clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
64396176754 0 8099813 812 1888T:ref4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
65302264531 0 8085621 812 1888T:ref4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
66232658564 0 8079077 812 1888T:ref4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
74777045047 0 8064597 804 1856T:ref4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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:97:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                     ^
mrarth1.c: mrarth1.c:97:25: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                         ^
mrarth1.c: mrarth1.c:378:22: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     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:     mr_small sr,*xg,*zg;
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: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: 8 warnings generated.
mrarth2.c: mrarth2.c:65:29: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     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:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                     ^
mrarth2.c: mrarth2.c:834:26: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                          ^
mrarth2.c: mrarth2.c:834:31: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                               ^
mrarth2.c: 5 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:1231:11: warning: variable 'j' set but not used [-Wunused-but-set-variable]
mrecn2.c:     int i,j;
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: 5 warnings generated.
mrmonty.c: mrmonty.c:264:46: warning: variable 'mg' set but not used [-Wunused-but-set-variable]
mrmonty.c:     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:     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:                                         ^
mrmonty.c: 2 warnings generated.

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

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:97:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                     ^
mrarth1.c: mrarth1.c:97:25: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                         ^
mrarth1.c: mrarth1.c:378:18: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small sr,*xg,*zg;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:378:22: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small sr,*xg,*zg;
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:747: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: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: 8 warnings generated.
mrarth2.c: mrarth2.c:65:25: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                     ^
mrarth2.c: mrarth2.c:65:29: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                             ^
mrarth2.c: mrarth2.c:834:26: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                          ^
mrarth2.c: mrarth2.c:834:31: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                               ^
mrarth2.c: 5 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:1231:11: warning: variable 'j' set but not used [-Wunused-but-set-variable]
mrecn2.c:     int i,j;
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: 5 warnings generated.
mrmonty.c: mrmonty.c:264:46: warning: variable 'mg' set but not used [-Wunused-but-set-variable]
mrmonty.c:     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:     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:                                         ^
mrmonty.c: 2 warnings generated.

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

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:97:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                     ^
mrarth1.c: mrarth1.c:97:25: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                         ^
mrarth1.c: mrarth1.c:378:22: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     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:     mr_small sr,*xg,*zg;
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:747: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: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: 8 warnings generated.
mrarth2.c: mrarth2.c:65:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                         ^
mrarth2.c: mrarth2.c:65:29: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                             ^
mrarth2.c: mrarth2.c:834:31: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                          ^
mrarth2.c: 5 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:1231:11: warning: variable 'j' set but not used [-Wunused-but-set-variable]
mrecn2.c:     int i,j;
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: 5 warnings generated.
mrmonty.c: mrmonty.c:264:46: warning: variable 'mg' set but not used [-Wunused-but-set-variable]
mrmonty.c:     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:     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:                                         ^
mrmonty.c: 2 warnings generated.

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

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:97:25: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     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:     mr_small carry,*xg,*zg;
mrarth1.c:                     ^
mrarth1.c: mrarth1.c:378:18: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small sr,*xg,*zg;
mrarth1.c:                  ^
mrarth1.c: mrarth1.c:378:22: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small sr,*xg,*zg;
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:747: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: mrarth1.c:834:19: warning: unused variable 'ch' [-Wunused-variable]
mrarth1.c:     unsigned char ch;
mrarth1.c:                   ^
mrarth1.c: 8 warnings generated.
mrarth2.c: mrarth2.c:65:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                     ^
mrarth2.c: mrarth2.c:65:29: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                         ^
mrarth2.c: mrarth2.c:834:26: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                          ^
mrarth2.c: mrarth2.c:834:31: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                               ^
mrarth2.c: 5 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:1231:11: warning: variable 'j' set but not used [-Wunused-but-set-variable]
mrecn2.c:     int i,j;
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: 5 warnings generated.
mrmonty.c: mrmonty.c:264:46: warning: variable 'mg' set but not used [-Wunused-but-set-variable]
mrmonty.c:     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:     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:                                         ^
mrmonty.c: 2 warnings generated.

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

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:97:21: warning: variable 'xg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                     ^
mrarth1.c: mrarth1.c:97:25: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     mr_small carry,*xg,*zg;
mrarth1.c:                         ^
mrarth1.c: mrarth1.c:378:22: warning: variable 'zg' set but not used [-Wunused-but-set-variable]
mrarth1.c:     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:     mr_small sr,*xg,*zg;
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: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: 8 warnings generated.
mrarth2.c: mrarth2.c:65:29: warning: variable 'w0g' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     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:     mr_small carry,*xg,*yg,*w0g;
mrarth2.c:                     ^
mrarth2.c: mrarth2.c:834:31: warning: variable 'yg' set but not used [-Wunused-but-set-variable]
mrarth2.c:     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:     mr_small borrow,dig,*w0g,*yg;
mrarth2.c:                          ^
mrarth2.c: 5 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:1231:11: warning: variable 'j' set but not used [-Wunused-but-set-variable]
mrecn2.c:     int i,j;
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: 5 warnings generated.
mrmonty.c: mrmonty.c:264:46: warning: variable 'mg' set but not used [-Wunused-but-set-variable]
mrmonty.c:     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:     mr_small carry,delay_carry,m,ndash,*w0g,*mg;
mrmonty.c:                                         ^
mrmonty.c: 2 warnings generated.

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

Compiler output


gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_timingleaks_keypair':
gls1271.c: gls1271.c:386:9: 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 (11.4.0)
T:ref4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ref4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:ref4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)