Implementation notes: amd64, hydra7, crypto_dh/nist521gs

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: nist521gs

Compiler output


dh.c: dh.c: In function 'mul':
dh.c: dh.c:794:32: warning: unused variable 'S' [-Wunused-variable]
dh.c:   794 |         ECp W[(1<<(WINDOW-1))],S[2],Q;
dh.c:       |                                ^
dh.c: dh.c:793:17: warning: unused variable 'tmc' [-Wunused-variable]
dh.c:   793 |         int tsc,tmc;
dh.c:       |                 ^~~
dh.c: dh.c:793:13: warning: unused variable 'tsc' [-Wunused-variable]
dh.c:   793 |         int tsc,tmc;
dh.c:       |             ^~~
dh.c: dh.c:792:19: warning: unused variable 'm' [-Wunused-variable]
dh.c:   792 |         int i,k,j,m;
dh.c:       |                   ^
dh.c: dh.c:792:17: warning: unused variable 'j' [-Wunused-variable]
dh.c:   792 |         int i,k,j,m;
dh.c:       |                 ^
dh.c: dh.c:792:15: warning: unused variable 'k' [-Wunused-variable]
dh.c:   792 |         int i,k,j,m;
dh.c:       |               ^
dh.c: dh.c: In function 'crypto_dh_nist521gs_ref_timingleaks_keypair':
dh.c: dh.c:823:15: warning: unused variable 'x' [-Wunused-variable]
dh.c:   823 |         int i,x,w[PANES];
dh.c:       |               ^
dh.c: dh.c: In function 'crypto_dh_nist521gs_ref_timingleaks':
dh.c: dh.c:877:21: warning: unused variable 'sh' [-Wunused-variable]
dh.c: ...

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