Implementation notes: amd64, cannon, crypto_scalarmult/kummer

Computer: cannon
Architecture: amd64
CPU ID: GenuineIntel-00060663-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_scalarmult
Primitive: kummer
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
19482214524 0 041901 816 1640avx2intgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
21107218884 0 049747 840 1608avx2intclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
21147620954 0 052139 840 1608avx2intclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
21152618884 0 049747 840 1608avx2intclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
2190749469 0 034029 816 1640avx2intgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
2258089080 0 036697 832 1576avx2intclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
2380949118 0 033197 816 1640avx2intgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
2417126240 0 029305 808 1608avx2intgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
85355614066 0 045339 840 1608ref5uclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
87081013896 0 045147 840 1608ref5clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
8760309298 0 036533 816 1640ref5gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
88225012655 0 043611 840 1608ref5uclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
88350812655 0 043611 840 1608ref5uclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
8853064456 0 028925 816 1640ref5gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
90247412421 0 043355 840 1608ref5clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
90257412421 0 043355 840 1608ref5clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
9351724628 0 032289 832 1576ref5uclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
9366084804 0 029293 816 1640ref5ugcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
9564284659 0 032305 832 1576ref5clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
9572289564 0 036821 816 1640ref5ugcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
9861544281 0 027209 808 1608ref5gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
10159044546 0 027505 808 1608ref5ugcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
10281764619 0 028565 816 1640ref5gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
10777584930 0 028901 816 1640ref5ugcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910

Compiler output

Implementation: avx
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(znegate.o): relocation R_X86_64_32S against symbol `minusz' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe4x3limb_freeze.o): relocation R_X86_64_32S against symbol `_2pm43' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_mul.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_nsquare.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(ladder.o): relocation R_X86_64_32S against symbol `_2p22' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: final link failed: nonrepresentable section on output
try.c: clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

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

Compiler output

Implementation: avx
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(znegate.o): relocation R_X86_64_32S against symbol `minusz' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe4x3limb_freeze.o): relocation R_X86_64_32S against symbol `_2pm43' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_mul.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_nsquare.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(ladder.o): relocation R_X86_64_32S against symbol `_2p22' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: final link failed: nonrepresentable section on output
try.c: collect2: error: ld returned 1 exit status

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

Compiler output

Implementation: avx2
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(znegate.o): relocation R_X86_64_32S against symbol `minusz' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe4x3limb_freeze.o): relocation R_X86_64_32S against symbol `_2pm43' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_mul.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_nsquare.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(ladder.o): relocation R_X86_64_32S against symbol `_two' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: final link failed: nonrepresentable section on output
try.c: clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

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

Compiler output

Implementation: avx2
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(znegate.o): relocation R_X86_64_32S against symbol `minusz' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe4x3limb_freeze.o): relocation R_X86_64_32S against symbol `_2pm43' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_mul.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(gfe_nsquare.o): relocation R_X86_64_32S against symbol `mask63' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_scalarmult_kummer.a(ladder.o): relocation R_X86_64_32S against symbol `_two' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: final link failed: nonrepresentable section on output
try.c: collect2: error: ld returned 1 exit status

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