Implementation notes: armeabi, tinkerboard, crypto_scalarmult/curve25519

Computer: tinkerboard
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_scalarmult
Primitive: curve25519
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
13461138384 0 019148 452 1600neon2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
13470898392 0 020380 460 1608neon2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
13494248396 0 032489 428 1624neon2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010320191221
14065508384 0 022136 460 1608neon2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
14502478384 0 020872 460 1608neon2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
38572768676 0 032649 428 1624ref10clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010320191221
40773986688 0 019148 460 1608ref10gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
40858466712 0 020408 460 1608ref10gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
43767025250 0 015968 452 1600ref10gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
955695810600 0 022572 460 1608ref10gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
4529205024408 0 048457 428 1624refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020010320191221
521007012352 0 014812 460 1608refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
532536553432 0 017128 460 1608refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
539871232316 0 014292 460 1608refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221
559621981772 0 012488 452 1600refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010320191221

Compiler output

Implementation: donna_c64
Security model: unknown
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: crypto_scalarmult_curve25519.a(smult.o): in function `crypto_scalarmult_curve25519_donna_c64':
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: crypto_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 (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE donna_c64

Compiler output

Implementation: donna_c64
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
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 (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE donna_c64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE donna_c64
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE donna_c64
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE donna_c64