Implementation notes: amd64, alder2,1f626960,5600000, crypto_dh/nist521gs
Computer: alder2,1f626960,5600000
Microarchitecture: amd64; Golden Cove (906a4-40)
Architecture: amd64
CPU ID: GenuineIntel-000906a4-40-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_dh
Primitive: nist521gs
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
3066351 | 15215 0 8 | 36666 796 1848 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3124057 | 10430 0 8 | 29882 788 1816 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3161060 | 20032 0 8 | 43490 796 1848 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3231660 | 21590 0 8 | 44112 820 1784 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3280899 | 23430 0 8 | 46080 820 1784 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3293150 | 29105 0 8 | 51728 820 1752 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3352256 | 11577 0 8 | 31934 812 1752 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3380231 | 12753 0 8 | 32774 812 1752 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
5187614 | 14028 0 8 | 34968 788 1848 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
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 (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
dh.c: dh.c: In function 'mul':
dh.c: dh.c:794:25: warning: unused variable 'S' [-Wunused-variable]
dh.c: 794 | ECp W[(1<<(WINDOW-1))],S[2],Q;
dh.c: | ^
dh.c: dh.c:793:10: warning: unused variable 'tmc' [-Wunused-variable]
dh.c: 793 | int tsc,tmc;
dh.c: | ^~~
dh.c: dh.c:793:6: warning: unused variable 'tsc' [-Wunused-variable]
dh.c: 793 | int tsc,tmc;
dh.c: | ^~~
dh.c: dh.c:792:12: warning: unused variable 'm' [-Wunused-variable]
dh.c: 792 | int i,k,j,m;
dh.c: | ^
dh.c: dh.c:792:10: warning: unused variable 'j' [-Wunused-variable]
dh.c: 792 | int i,k,j,m;
dh.c: | ^
dh.c: dh.c:792:8: 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:8: 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:14: 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 (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
dh.o add_a T
dh.o add_p T
dh.o copy T
dh.o doubl T
dh.o fe_cmov T
dh.o g2sb T
dh.o g3ad T
dh.o g4sb T
dh.o gadd T
dh.o gcopy T
dh.o gdec T
dh.o ginv T
dh.o gmul T
dh.o gmul2 T
dh.o gmul4 T
dh.o gone T
dh.o gsb2 T
dh.o gsb8 T
dh.o gsqr T
dh.o gsub T
dh.o gtsb T
dh.o gtsb2 T
dh.o inf T
dh.o init T
dh.o mc B
dh.o mul T
dh.o multi_norm T
dh.o neg T
dh.o norm T
dh.o precomp T
dh.o sc B
dh.o scr T
dh.o window T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |