Implementation notes: amd64, bitvise, crypto_scalarmult/kummer

Computer: bitvise
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20190910
Operation: crypto_scalarmult
Primitive: kummer
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
20154016553 0 039017 784 1608avx2intclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
20185418687 0 041145 784 1608avx2intclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
20382116553 0 039017 784 1608avx2intclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
2319998869 0 027815 776 1576avx2intclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
23401110095 0 030710 784 1640avx2intgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
2423229678 0 029918 784 1640avx2intgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
2600256490 0 025558 776 1608avx2intgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
2632159047 48 028111 832 1576avx2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
2652399073 48 031713 840 1608avx2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
2660469073 48 031713 840 1608avx2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
2684569073 48 031713 840 1608avx2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
26920614979 0 038958 784 1640avx2intgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
3539119769 48 032417 840 1608avxclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
3552179743 48 028783 832 1576avxclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
3553529769 48 032385 840 1608avxclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
3562989769 48 032385 840 1608avxclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
82631513788 0 036329 784 1608ref5uclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
85176412487 0 035025 784 1608ref5uclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
85590612487 0 035025 784 1608ref5uclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
87186713816 0 036369 784 1608ref5clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
8880724358 0 023319 776 1576ref5uclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
89184612022 0 035886 784 1640ref5gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
8959994467 0 024982 784 1640ref5gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
90591212301 0 034857 784 1608ref5clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
91049412301 0 034857 784 1608ref5clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
9177224313 0 023279 776 1576ref5clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019091420190910
92696612084 0 035950 784 1640ref5ugcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
9808104205 0 023158 776 1608ref5gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
10150684493 0 023478 776 1608ref5ugcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
10335754611 0 024742 784 1640ref5gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
10765864903 0 025062 784 1640ref5ugcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910
17926494763 0 025302 784 1640ref5ugcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019091420190910

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: 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

Namespace violations

Implementation: avx
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
consts.o _2 R
consts.o _2p106 R
consts.o _2p107m2p86 R
consts.o _2p127 R
consts.o _2p127m2p85 R
consts.o _2p128m2p107 R
consts.o _2p128m2p86 R
consts.o _2p22 R
consts.o _2p23 R
consts.o _2p43 R
consts.o _2p43m1 R
consts.o _2p44m2 R
consts.o _2p44m2p23 R
consts.o _2p64 R
consts.o _2p65m2p44 R
consts.o _2p85 R
consts.o _2p85m2p43 R
consts.o _2p86m2p44 R
consts.o _2p86m2p65 R
consts.o _2pm106 R
consts.o _2pm127 R
consts.o _2pm22 R
consts.o _2pm43 R
consts.o _2pm64 R
consts.o _2pm85 R
consts.o _one D
consts.o _two R
consts.o alpha106 R
consts.o alpha127 R
consts.o alpha22 R
consts.o alpha43 R
consts.o alpha64 R
consts.o alpha85 R
consts.o hadstepconsts R
consts.o mask63 D
consts.o minusz R
consts.o newABCD R
consts.o newabcd R
consts.o stepconsts R
gfe.o gfe4x3limb_split T
gfe.o gfe4x3limb_unpack T
gfe.o gfe4x_unpack T
gfe.o gfe_invert T
gfe.o gfe_pack T
gfe.o gfe_unpack T
gfe4x3limb_freeze.o _gfe4x3limb_freeze T
gfe4x3limb_freeze.o gfe4x3limb_freeze T
gfe_mul.o _gfe_mul T
gfe_mul.o gfe_mul T
gfe_nsquare.o _gfe_nsquare T
gfe_nsquare.o gfe_nsquare T
ladder.o _ladder T
ladder.o ladder T
znegate.o _gfe4x_znegate T
znegate.o gfe4x_znegate T

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

Namespace violations

Implementation: avx2
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
consts.o _1111 R
consts.o _2 R
consts.o _2p106 R
consts.o _2p107m2p86 R
consts.o _2p127 R
consts.o _2p127m2p85 R
consts.o _2p128m2p107 R
consts.o _2p128m2p86 R
consts.o _2p22 R
consts.o _2p23 R
consts.o _2p43 R
consts.o _2p43m1 R
consts.o _2p44m2 R
consts.o _2p44m2p23 R
consts.o _2p64 R
consts.o _2p65m2p44 R
consts.o _2p85 R
consts.o _2p85m2p43 R
consts.o _2p86m2p44 R
consts.o _2p86m2p65 R
consts.o _2pm106 R
consts.o _2pm127 R
consts.o _2pm22 R
consts.o _2pm43 R
consts.o _2pm64 R
consts.o _2pm85 R
consts.o _one D
consts.o _two R
consts.o alpha106 R
consts.o alpha127 R
consts.o alpha22 R
consts.o alpha43 R
consts.o alpha64 R
consts.o alpha85 R
consts.o hadstepconsts R
consts.o mask63 D
consts.o minusz R
consts.o newABCD R
consts.o newabcd R
consts.o stepconsts R
gfe.o gfe4x3limb_split T
gfe.o gfe4x3limb_unpack T
gfe.o gfe4x_unpack T
gfe.o gfe_invert T
gfe.o gfe_pack T
gfe.o gfe_unpack T
gfe4x3limb_freeze.o _gfe4x3limb_freeze T
gfe4x3limb_freeze.o gfe4x3limb_freeze T
gfe_mul.o _gfe_mul T
gfe_mul.o gfe_mul T
gfe_nsquare.o _gfe_nsquare T
gfe_nsquare.o gfe_nsquare T
ladder.o _ladder T
ladder.o ladder T
znegate.o _gfe4x_znegate T
znegate.o gfe4x_znegate T

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