Implementation notes: amd64, cannon, crypto_sign/ed25519

Computer: cannon
Architecture: amd64
CPU ID: GenuineIntel-00060663-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_sign
Primitive: ed25519
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
52615425860 31680 052734 32520 1632ref10gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
55421628835 31680 055796 32544 1632ref10clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
55478628835 31680 055796 32544 1632ref10clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
56246826980 31680 050378 32536 1600ref10clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
56866226589 31680 050406 32520 1632ref10gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
57264625454 31680 048274 32512 1600ref10gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
57600225789 31680 049886 32520 1632ref10gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
58065431155 31680 058436 32544 1632ref10clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
5429692132560 0 0160196 856 1632refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
5439462132560 0 0160196 856 1632refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
5568752135108 0 0162446 832 1632refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
5825218135572 0 0163500 856 1632refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
5999624122333 0 0146514 848 1600refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091120190910
18749438123614 0 0148302 832 1632refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
19595018122900 0 0147470 832 1632refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910
19675964121298 0 0144866 824 1600refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091120190910

Compiler output

Implementation: amd64-51-30k
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p3.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_pniels.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_pnielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_add.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_ORDER0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_barrett.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_MU3' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(choose_t.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_mul.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_nsquare.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_square.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_dbl_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_freeze.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' 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 amd64-51-30k
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE amd64-51-30k
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE amd64-51-30k
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE amd64-51-30k

Compiler output

Implementation: amd64-51-30k
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p3.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_pniels.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_pnielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_add.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_ORDER0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_barrett.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_MU3' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(choose_t.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_mul.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_nsquare.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_square.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_dbl_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_2P0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_freeze.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_51_30k_batch_REDMASK51' 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 amd64-51-30k
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64-51-30k
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64-51-30k
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64-51-30k

Compiler output

Implementation: amd64-64-24k
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p3.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_pnielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_add.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_ORDER0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_barrett.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_MU3' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_mul.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_square.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_dbl_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' 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 amd64-64-24k
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE amd64-64-24k
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE amd64-64-24k
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE amd64-64-24k

Compiler output

Implementation: amd64-64-24k
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_p1p1_to_p3.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_pnielsadd_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_add.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_ORDER0' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(sc25519_barrett.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_MU3' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_mul.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(fe25519_square.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_dbl_p1p1.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' can not be used when making a PIE object; recompile with -fPIC
try.c: /usr/bin/ld: crypto_sign_ed25519.a(ge25519_nielsadd2.o): relocation R_X86_64_32S against symbol `crypto_sign_ed25519_amd64_64_38' 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 amd64-64-24k
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64-64-24k
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64-64-24k
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64-64-24k