Implementation notes: amd64, luft, crypto_dh/sclaus2048

Computer: luft
Architecture: amd64
CPU ID: GenuineIntel-000306d4-bfebfbff
SUPERCOP version: 20200702
Operation: crypto_dh
Primitive: sclaus2048
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
75120962834 24 0229376 4096 0gmpclang++_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071020200702
75160482724 200 0229376 4096 0gmpg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071020200702
75368082834 24 0229376 4096 0gmpclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071020200702
75686962602 218 0229376 4096 0gmpg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071020200702
75735682488 192 0225280 4096 0gmpg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071020200702
75742763080 24 0225280 4096 0gmpclang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071020200702
75845642724 200 0229376 4096 0gmpg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020071020200702
83243442834 24 0229376 4096 0gmpclang++_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020071020200702

Compiler output

Implementation: cryptopp
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keypair.cpp: keypair.cpp:1:10: fatal error: 'cryptopp/dh.h' file not found
keypair.cpp: #include <cryptopp/dh.h>
keypair.cpp: ^~~~~~~~~~~~~~~
keypair.cpp: 1 error generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cryptopp
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cryptopp
clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cryptopp
clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE cryptopp

Compiler output

Implementation: cryptopp
Security model: unknown
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keypair.cpp: keypair.cpp:1:10: fatal error: cryptopp/dh.h: No such file or directory
keypair.cpp: 1 | #include <cryptopp/dh.h>
keypair.cpp: | ^~~~~~~~~~~~~~~
keypair.cpp: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE cryptopp

Compiler output

Implementation: gmp
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.cpp: ld: warning: could not create compact unwind for ___gmpz_powm: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
try.cpp: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.cpp: ld: warning: could not create compact unwind for ___gmpz_powm: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.cpp: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
try.cpp: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
measure.cpp: ld: warning: could not create compact unwind for ___gmpz_powm: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for _crypto_stream_aes256ctr_dolbeau_aesenc_int_xor: register 3 saved somewhere other than in frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_binvert: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
measure.cpp: ld: warning: could not create compact unwind for ___gmpn_gcd_subdiv_step: does not use RBP or RSP based frame
measure.cpp: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE gmp
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE gmp
clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE gmp
clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE gmp

Compiler output

Implementation: gmp
Security model: unknown
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.cpp: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.cpp: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
measure.cpp: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_add_n from /Users/jvaltin/Documents/supercop-20200702/supercop-data/luft/amd64/lib/libgmp.a(add_n.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE gmp
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE gmp
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE gmp
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE gmp