Implementation notes: armeabi, bblack, crypto_scalarmult/curve25519

Computer: bblack
Microarchitecture: armeabi; Cortex-A8 (413fc082)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240425
Operation: crypto_scalarmult
Primitive: curve25519
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
72639328676 0 033327 448 1512ref10clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
74593807740 0 024551 448 1496ref10clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
74603407740 0 024551 448 1496ref10clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
74638807344 0 022517 444 1496ref10clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
74673008860 0 024695 448 1504ref10clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
91822245218 0 015902 472 1496ref10gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
94986246664 0 019350 480 1496ref10gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
95032966624 0 018290 480 1496ref10gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
196375169438 0 020834 480 1496ref10gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
8206026824408 0 049127 448 1512refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
954787923116 0 015806 480 1496refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
962327282148 0 013810 480 1496refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
1001276161768 0 012446 472 1496refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
1014261883196 0 018445 444 1496refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
10270137618204 0 034111 448 1504refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
1063313722000 0 013394 480 1496refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024051120240425
10806214820328 0 037231 448 1496refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425
10810698020328 0 037231 448 1496refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024051120240425

Compiler output


try.c: /usr/bin/ld: libcrypto_scalarmult_curve25519.a(smult.o): in function `crypto_scalarmult_curve25519_donna_c64_constbranchindex':
try.c: smult.c:(.text+0x...): undefined reference to `__multi3'
try.c: /usr/bin/ld: smult.c:(.text+0x...): undefined reference to `__multi3'
try.c: /usr/bin/ld: smult.c:(.text+0x...): undefined reference to `__multi3'
try.c: /usr/bin/ld: smult.c:(.text+0x...): undefined reference to `__multi3'
try.c: /usr/bin/ld: smult.c:(.text+0x...): undefined reference to `__multi3'
try.c: /usr/bin/ld: libcrypto_scalarmult_curve25519.a(smult.o):smult.c:(.text+0x...): more undefined references to `__multi3' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
donna_c64clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
donna_c64clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
donna_c64clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
donna_c64clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
donna_c64clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


smult.c: smult.c:34:1: error: unable to emulate 'TI'
smult.c:  typedef unsigned uint128_t __attribute__((mode(TI)));
smult.c:  ^~~~~~~
smult.c: smult.c: In function 'fscalar_product':
smult.c: smult.c:76:49: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:    a = ((uint128_t) in[1]) * scalar + ((limb) (a >> 51));
smult.c:                                                  ^~
smult.c: smult.c:79:49: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:    a = ((uint128_t) in[2]) * scalar + ((limb) (a >> 51));
smult.c:                                                  ^~
smult.c: smult.c:82:49: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:    a = ((uint128_t) in[3]) * scalar + ((limb) (a >> 51));
smult.c:                                                  ^~
smult.c: smult.c:85:49: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:    a = ((uint128_t) in[4]) * scalar + ((limb) (a >> 51));
smult.c:                                                  ^~
smult.c: smult.c:88:19: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:    output[0] += (a >> 51) * 19;
smult.c:                    ^~
smult.c: smult.c: In function 'fmul':
smult.c: smult.c:132:70: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:                    r0 = (limb)t[0] & 0x7ffffffffffff; c = (limb)(t[0] >> 51);
smult.c:                                                                       ^~
smult.c: smult.c:133:70: warning: right shift count >= width of type [-Wshift-count-overflow]
smult.c:    t[1] += c;      r1 = (limb)t[1] & 0x7ffffffffffff; c = (limb)(t[1] >> 51);
smult.c: ...

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

Compiler output


scalarmult.S: scalarmult.S:11159:29: error: expected '%<type>' or "<type>"
scalarmult.S: .section .note.GNU-stack,"",@progbits
scalarmult.S:                             ^

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
neon2clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
neon2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
neon2clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
neon2clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
neon2clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


scalarmult.S: scalarmult.S: Assembler messages:
scalarmult.S: scalarmult.S:11159: Error: junk at end of line, first unrecognized character is `,'

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

Compiler output


try.c: env: 'cargo': No such file or directory

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
rust_cryptoclang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
rust_cryptoclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
rust_cryptoclang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
rust_cryptoclang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
rust_cryptoclang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
rust_cryptogcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
rust_cryptogcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
rust_cryptogcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)
rust_cryptogcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE (8.3.0)