Implementation notes: amd64, alder, crypto_dh/nist521gs
Computer: alder
Microarchitecture: amd64; Golden Cove (90675-00)
Architecture: amd64
CPU ID: GenuineIntel-00090675-00-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: nist521gs
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
3066300 | 15215 0 8 | 36658 796 1848 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3108919 | 10430 0 8 | 29874 788 1816 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3159958 | 20032 0 8 | 43482 796 1848 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3203075 | 21590 0 8 | 44104 820 1784 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3272003 | 23430 0 8 | 46072 820 1784 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3293311 | 29105 0 8 | 51720 820 1752 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3394462 | 11577 0 8 | 31926 812 1752 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
3400595 | 12753 0 8 | 32766 812 1752 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
5200827 | 14028 0 8 | 34960 788 1848 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
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) |