Implementation notes: amd64, icelake, crypto_dh/surf127eps

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_dh
Primitive: surf127eps
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
70006026152 0 0208896 4096 0T:mpfqclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082720200826
70888625527 0 0208896 4096 0T:mpfqopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082720200826
71452121632 0 0204800 4096 0T:mpfqopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082720200826
7901159785 0 0192512 4096 0T:mpfqopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082720200826

Compiler output

Implementation: T:mpfq
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
mpfq_p_127_735.c: In file included from mpfq_p_127_735.c:5:
mpfq_p_127_735.c: ./x86_64/mpfq_p_127_735.c:111:1: warning: control reaches end of non-void function [-Wreturn-type]
mpfq_p_127_735.c: }
mpfq_p_127_735.c: ^
mpfq_p_127_735.c: 1 warning generated.
surf127eps.c: In file included from surf127eps.c:18:
surf127eps.c: In file included from ./mpfq_p_127_735.h:5:
surf127eps.c: ./x86_64/mpfq_p_127_735.h:361:4: error: inline assembly requires more registers than available
surf127eps.c: " movq %0, %%rcx\n"
surf127eps.c: ^
surf127eps.c: ./x86_64/mpfq_p_127_735.h:361:4: error: inline assembly requires more registers than available
surf127eps.c: ./x86_64/mpfq_p_127_735.h:361:4: error: inline assembly requires more registers than available
surf127eps.c: ./x86_64/mpfq_p_127_735.h:361:4: error: inline assembly requires more registers than available
surf127eps.c: 4 errors generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:mpfq
clang -march=icelake-client -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:mpfq

Compiler output

Implementation: T:mpfq
Security model: timingleaks
Compiler: clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
mpfq_p_127_735.c: In file included from mpfq_p_127_735.c:5:
mpfq_p_127_735.c: ./x86_64/mpfq_p_127_735.c:111:1: warning: control reaches end of non-void function [-Wreturn-type]
mpfq_p_127_735.c: }
mpfq_p_127_735.c: ^
mpfq_p_127_735.c: 1 warning generated.
try.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_bdiv_q_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(bdiv_q_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
try.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_bdiv_q_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(bdiv_q_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
measure.c: ld: warning: could not create compact unwind for _crypto_stream_aes256ctr_dolbeau_aesenc_int_constbranchindex_xor: register 3 saved somewhere other than in frame
measure.c: ld: warning: could not create compact unwind for _mpn_mu_div_qr2: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom33_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom42_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom43_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom63_mul: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_mulmod_bnm1: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_sqrmod_bnm1: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for _mpn_mul_fft_internal.constprop.0: does not use RBP or RSP based frame
measure.c: ld: warning: could not create compact unwind for ___gmpn_toom3_sqr: does not use RBP or RSP based frame
measure.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_bdiv_q_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(bdiv_q_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=icelake-client -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:mpfq

Compiler output

Implementation: T:mpfq
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_bdiv_q_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(bdiv_q_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
try.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_bdiv_q_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(bdiv_q_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
measure.c: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_bdiv_q_1 from /Users/krovetz/tmp/supercop-20200826/supercop-data/icelake/amd64/lib/libgmp.a(bdiv_q_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:mpfq
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:mpfq
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:mpfq