Implementation notes: amd64, renoir, crypto_dh/curve25519

Computer: renoir
Microarchitecture: amd64; Zen 2 (860f01)
Architecture: amd64
CPU ID: AuthenticAMD-00860f01-178bfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: curve25519
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
535897151 0 029182 812 1720T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
535910142 0 028808 780 1752T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
536199161 0 032040 788 1784T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
536354155 0 031976 820 1720T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
536894161 0 030328 788 1784T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
537146155 0 029406 812 1720T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
537190164 0 029816 788 1784T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
537672155 0 031648 820 1752T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
537733155 0 031488 820 1752T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output

Implementation: T:mpfq
Security model: timingleaks
Compiler: clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
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:
ImplementationCompiler
T:mpfqclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:mpfqclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:mpfqclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:mpfqclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:mpfqclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output

Implementation: T:mpfq
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
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:
ImplementationCompiler
T:mpfqgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:mpfqgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:mpfqgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:mpfqgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)