Implementation notes: amd64, titan0, crypto_dh/nist521gs
Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_dh
Primitive: nist521gs
Compiler output
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: int i,x,w[PANES];
dh.c: ^
dh.c: dh.c:877:14: warning: unused variable 'sh' [-Wunused-variable]
dh.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |