Implementation notes: amd64, titan0, crypto_dh/curve25519
Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_dh
Primitive: curve25519
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
600869 | 151 0 0 | 40962 860 1792 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
600890 | 155 0 0 | 40240 868 1728 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
602042 | 213 0 0 | 43349 812 1792 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
602355 | 155 0 0 | 42744 868 1728 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
603193 | 204 0 0 | 40901 812 1792 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
605543 | 155 0 0 | 44216 868 1760 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
606168 | 155 0 0 | 43968 868 1760 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
606673 | 213 0 0 | 41285 812 1792 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
609847 | 182 0 0 | 39813 804 1760 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240717 | 20240716 |
Compiler output
curve25519.c: In file included from curve25519.c:20:
curve25519.c: In file included from ./mpfq_p_25519.h:5:
curve25519.c: In file included from ./x86_64/mpfq_p_25519.h:10:
curve25519.c: In file included from ./fixmp.h:281:
curve25519.c: ./fixmp_longlong.h:2527:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ./fixmp_longlong.h:2539:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ./fixmp_longlong.h:2551:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ./fixmp_longlong.h:2563:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ./fixmp_longlong.h:2575:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ./fixmp_longlong.h:2587:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ./fixmp_longlong.h:2599:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: int i;
curve25519.c: ^
curve25519.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:mpfq | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:mpfq | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
curve25519.c: In file included from ./fixmp.h:281,
curve25519.c: from x86_64/mpfq_p_25519.h:10,
curve25519.c: from mpfq_p_25519.h:5,
curve25519.c: from curve25519.c:20:
curve25519.c: ./fixmp_longlong.h: In function 'mgy_decode_1':
curve25519.c: ./fixmp_longlong.h:2527:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: 2527 | int i;
curve25519.c: | ^
curve25519.c: ./fixmp_longlong.h: In function 'mgy_decode_2':
curve25519.c: ./fixmp_longlong.h:2539:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: 2539 | int i;
curve25519.c: | ^
curve25519.c: ./fixmp_longlong.h: In function 'mgy_decode_3':
curve25519.c: ./fixmp_longlong.h:2551:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: 2551 | int i;
curve25519.c: | ^
curve25519.c: ./fixmp_longlong.h: In function 'mgy_decode_4':
curve25519.c: ./fixmp_longlong.h:2563:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: 2563 | int i;
curve25519.c: | ^
curve25519.c: ./fixmp_longlong.h: In function 'mgy_decode_5':
curve25519.c: ./fixmp_longlong.h:2575:7: warning: unused variable 'i' [-Wunused-variable]
curve25519.c: 2575 | int i;
curve25519.c: | ^
curve25519.c: ./fixmp_longlong.h: In function 'mgy_decode_6':
curve25519.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:mpfq | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:mpfq | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:mpfq | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:mpfq | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |