Implementation notes: amd64, hydra4, crypto_dh/nist521gs
Computer: hydra4
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240716
Operation: crypto_dh
Primitive: nist521gs
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
7074472 | 22070 0 8 | 42458 796 1816 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7120067 | 15345 0 8 | 34538 796 1816 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7230379 | 10431 0 8 | 27642 788 1784 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7598623 | 27185 0 8 | 46672 820 1720 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7603674 | 29105 0 8 | 49488 820 1720 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7604757 | 29105 0 8 | 49488 820 1720 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7772384 | 13288 0 8 | 30750 812 1720 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
7783547 | 11769 0 8 | 29822 812 1720 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 20240625 |
14577093 | 13681 0 8 | 32088 788 1816 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240630 | 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) |