Implementation notes: amd64, h6sandy, crypto_dh/ed521gs
Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: ed521gs
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
4865115 | 26394 0 0 | 46519 820 1792 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
4944072 | 11474 0 0 | 28231 812 1760 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
4994173 | 17592 0 0 | 36455 820 1792 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
5217763 | 30244 0 0 | 49739 852 1728 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
5293411 | 28412 0 0 | 49859 852 1728 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
5360742 | 15379 0 0 | 32285 844 1728 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
5365532 | 27756 0 0 | 47243 852 1728 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
5370529 | 23508 0 0 | 41315 852 1728 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
8364302 | 16677 0 0 | 35029 812 1792 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240628 | 20240625 |
Compiler output
dh.c: dh.c:740:27: warning: unused variable 'S' [-Wunused-variable]
dh.c: ECp W[1+(1<<(WINDOW-1))],S[2],Q;
dh.c: ^
dh.c: dh.c:741:8: warning: unused variable 'j' [-Wunused-variable]
dh.c: int i,j,m;
dh.c: ^
dh.c: dh.c:741:10: warning: unused variable 'm' [-Wunused-variable]
dh.c: int i,j,m;
dh.c: ^
dh.c: dh.c:763:8: warning: unused variable 'x' [-Wunused-variable]
dh.c: int i,x,w[PANES];
dh.c: ^
dh.c: dh.c:814:8: warning: unused variable 'x' [-Wunused-variable]
dh.c: int i,x,w[PANES];
dh.c: ^
dh.c: dh.c:815:14: warning: unused variable 'sh' [-Wunused-variable]
dh.c: signed char sh;
dh.c: ^
dh.c: dh.c:23:21: warning: unused variable 'bot52bits' [-Wunused-const-variable]
dh.c: static const type64 bot52bits = 0xfffffffffffff;
dh.c: ^
dh.c: 7 warnings generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
dh.c: dh.c: In function 'mul':
dh.c: dh.c:741:17: warning: unused variable 'm' [-Wunused-variable]
dh.c: 741 | int i,j,m;
dh.c: | ^
dh.c: dh.c:741:15: warning: unused variable 'j' [-Wunused-variable]
dh.c: 741 | int i,j,m;
dh.c: | ^
dh.c: dh.c:740:34: warning: unused variable 'S' [-Wunused-variable]
dh.c: 740 | ECp W[1+(1<<(WINDOW-1))],S[2],Q;
dh.c: | ^
dh.c: dh.c: In function 'crypto_dh_ed521gs_ref_timingleaks_keypair':
dh.c: dh.c:763:15: warning: unused variable 'x' [-Wunused-variable]
dh.c: 763 | int i,x,w[PANES];
dh.c: | ^
dh.c: dh.c: In function 'crypto_dh_ed521gs_ref_timingleaks':
dh.c: dh.c:815:21: warning: unused variable 'sh' [-Wunused-variable]
dh.c: 815 | signed char sh;
dh.c: | ^~
dh.c: dh.c:814:15: warning: unused variable 'x' [-Wunused-variable]
dh.c: 814 | int i,x,w[PANES];
dh.c: | ^
dh.c: At top level:
dh.c: dh.c:23:21: warning: 'bot52bits' defined but not used [-Wunused-const-variable=]
dh.c: 23 | static const type64 bot52bits = 0xfffffffffffff;
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 (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |