Implementation notes: amd64, jasper3, crypto_dh/nist521gs
Computer: jasper3
Microarchitecture: amd64; Tremont (906c0)
Architecture: amd64
CPU ID: GenuineIntel-000906c0-20-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: nist521gs
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
7889321 | 10450 0 8 | 27402 788 1784 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
10748017 | 22190 0 8 | 42394 796 1816 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
10857457 | 15280 0 8 | 34298 796 1816 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
10963814 | 27273 0 8 | 48792 820 1720 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
10984641 | 25497 0 8 | 44680 820 1720 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
11067182 | 29105 0 8 | 49248 820 1720 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
11194435 | 13317 0 8 | 30582 812 1720 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
11196441 | 11801 0 8 | 29646 812 1720 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 20240625 |
14855998 | 14224 0 8 | 32680 788 1816 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240627 | 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) |