Implementation notes: mipso32, gcc23, crypto_scalarmult/curve25519

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_scalarmult
Primitive: curve25519
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
79963529072 0 034211 416 1568ref10gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
1184551812112 0 041423 424 1568ref10gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
1185190812048 0 039279 424 1568ref10gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
3815061017472 0 045503 424 1568ref10gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
2097704144672 0 033566 376 1568refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
2118331464000 0 030814 376 1568refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
2572191024288 0 031902 376 1568refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506
2760238023344 0 027946 368 1568refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060320220506

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: typedef unsigned uint128_t __attribute__((mode(TI)));
smult.c: ^
smult.c: smult.c: In function 'fscalar_product':
smult.c: smult.c:76:3: warning: right shift count >= width of type
smult.c: a = ((uint128_t) in[1]) * scalar + ((limb) (a >> 51));
smult.c: ^
smult.c: smult.c:79:3: warning: right shift count >= width of type
smult.c: a = ((uint128_t) in[2]) * scalar + ((limb) (a >> 51));
smult.c: ^
smult.c: smult.c:82:3: warning: right shift count >= width of type
smult.c: a = ((uint128_t) in[3]) * scalar + ((limb) (a >> 51));
smult.c: ^
smult.c: smult.c:85:3: warning: right shift count >= width of type
smult.c: a = ((uint128_t) in[4]) * scalar + ((limb) (a >> 51));
smult.c: ^
smult.c: smult.c:88:3: warning: right shift count >= width of type
smult.c: output[0] += (a >> 51) * 19;
smult.c: ^
smult.c: smult.c: In function 'fmul':
smult.c: smult.c:132:19: warning: right shift count >= width of type
smult.c: r0 = (limb)t[0] & 0x7ffffffffffff; c = (limb)(t[0] >> 51);
smult.c: ^
smult.c: smult.c:133:3: warning: right shift count >= width of type
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

Compiler output

Implementation: rust_crypto
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: env: cargo: No such file or directory

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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