Implementation notes: amd64, hertz, crypto_dh/k298
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_dh
Primitive: k298
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
192324 | 162179 0 0 | 194969 844 1832 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
192499 | 162179 0 0 | 195081 844 1832 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
217197 | 116801 0 0 | 143307 836 1832 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
dh.c: In file included from dh.c:8:
dh.c: ./smu.h:24:34: warning: unused variable 't_w' [-Wunused-variable]
dh.c: 24 | uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c: | ^~~
dh.c: ./smu.h:24:52: warning: unused variable 't2' [-Wunused-variable]
dh.c: 24 | uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c: | ^~
dh.c: ./smu.h:124:31: warning: unused variable 'cmp_sse' [-Wunused-variable]
dh.c: 124 | __m128i dig_sse, sig_sse, cmp_sse, msk_sse;
dh.c: | ^~~~~~~
dh.c: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
dh.c: In file included from dh.c:8:
dh.c: smu.h: In function 'smu_3nf':
dh.c: smu.h:24:52: warning: unused variable 't2' [-Wunused-variable]
dh.c: 24 | uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c: | ^~
dh.c: smu.h:24:34: warning: unused variable 't_w' [-Wunused-variable]
dh.c: 24 | uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c: | ^~~
dh.c: smu.h: In function 'smu_3nf_ltr':
dh.c: smu.h:124:31: warning: unused variable 'cmp_sse' [-Wunused-variable]
dh.c: 124 | __m128i dig_sse, sig_sse, cmp_sse, msk_sse;
dh.c: | ^~~~~~~
dh.c: smu.h:138:7: warning: array subscript 0 is outside array bounds of 'uint64_t[0]' {aka 'long unsigned int[]'} [-Warray-bounds=]
dh.c: 138 | k1[0] = k_01[0]; k1[1] = k_01[1];
dh.c: | ~~^~~
dh.c: smu.h:132:21: note: while referencing 'k1'
dh.c: 132 | uint64_t k0[2], k1[0];
dh.c: | ^~
dh.c: smu.h:138:24: warning: array subscript 1 is outside array bounds of 'uint64_t[0]' {aka 'long unsigned int[]'} [-Warray-bounds=]
dh.c: 138 | k1[0] = k_01[0]; k1[1] = k_01[1];
dh.c: | ~~^~~
dh.c: smu.h:132:21: note: while referencing 'k1'
dh.c: 132 | uint64_t k0[2], k1[0];
dh.c: | ^~
dh.c: smu.h:147:19: warning: array subscript 0 is outside array bounds of 'uint64_t[0]' {aka 'long unsigned int[]'} [-Warray-bounds=]
dh.c: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
dh.o eca_add_ful T
dh.o eca_add_mix T
dh.o eca_dbl_ful T
dh.o eca_dbl_mix T
dh.o eca_tau_2co T
dh.o eca_tau_3co T
dh.o ffa_inv_bas T
dh.o ffa_inv_qdr T
dh.o ffa_msq_004 T
dh.o ffa_msq_008 T
dh.o ffa_msq_016 T
dh.o ffa_msq_033 T
dh.o ffa_msq_074 T
dh.o ffa_mul T
dh.o ffa_muy T
dh.o ffa_red_149 T
dh.o ffa_sqr T
dh.o smu_3nf T
dh.o smu_3nf_ltr T
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |