Implementation notes: armeabi, novena, crypto_scalarmult/curve25519

Computer: novena
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20220506
Operation: crypto_scalarmult
Primitive: curve25519
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
22693838384 0 023763 428 1496neon2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
23025878396 0 035065 432 1512neon2clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
23277878384 0 022499 428 1496neon2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
23277898388 0 022295 428 1496neon2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
23825938396 0 027913 432 1496neon2clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
23829938396 0 026151 428 1496neon2clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
23861938396 0 026585 432 1504neon2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
23929958384 0 021431 420 1496neon2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
25290058404 0 026175 428 1496neon2clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
48199918584 0 035121 432 1512ref10clang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
51656195412 0 020747 428 1496ref10gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
51828205198 0 018211 420 1496ref10gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
52996307332 0 024975 428 1496ref10clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
53624357480 0 025111 428 1496ref10clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
56276558848 0 026905 432 1504ref10clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
56524597728 0 027105 432 1496ref10clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
56836595412 0 019491 428 1496ref10gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
129974539604 0 023487 428 1496ref10gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
653064982448 0 016523 428 1496refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
670974433492 0 018827 428 1496refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
676970993204 0 020919 428 1496refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
6914682225012 0 051617 432 1512refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
698980722032 0 015911 428 1496refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
712369791752 0 014763 420 1496refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060620220506
7270270518580 0 036713 432 1504refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
7696585321204 0 040681 432 1496refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506
895712782992 0 020655 428 1496refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060620220506

Compiler output

Implementation: donna_c64
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
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 (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE donna_c64
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE donna_c64
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE donna_c64
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE donna_c64
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE donna_c64

Compiler output

Implementation: donna_c64
Security model: constbranchindex
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: 34 | 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: 76 | 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: 79 | 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: 82 | 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: 85 | 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: 88 | 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: 132 | 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: 133 | 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

Compiler output

Implementation: rust_crypto
Security model: constbranchindex
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: Alarm clock

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