Implementation notes: riscv64, riscvunleashed000, crypto_stream/sosemanuk

Computer: riscvunleashed000
Microarchitecture: riscv64; U54 (sifive,u54-mc)
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_stream
Primitive: sosemanuk
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3593814063 2240 01436898 149656 13736T:cryptoppg++_-mcpu=sifive-u54_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320231222
3612013170 2240 01435780 149656 13736T:cryptoppg++_-mcpu=sifive-u54_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320231222
361447521 2880 01431323 150288 13736T:cryptoppg++_-mcpu=sifive-u54_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320231222
3620815577 2240 01439924 149648 13736T:cryptoppg++_-mcpu=sifive-u54_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011320231222

Compiler output

Implementation: T:e/submissions/sosemanuk
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
sosemanuk.c: In file included from sosemanuk.c:1:
sosemanuk.c: ./e/sosemanuk.c:959:2: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
sosemanuk.c: SRD(S2, 2, 3, 1, 4, 0);
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:848:6: note: expanded from macro 'SRD'
sosemanuk.c: ^ U32TO32_LITTLE(u ## x0 ^ v0); \
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:964:2: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
sosemanuk.c: SRD(S2, 2, 3, 1, 4, 16);
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:848:6: note: expanded from macro 'SRD'
sosemanuk.c: ^ U32TO32_LITTLE(u ## x0 ^ v0); \
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:969:2: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
sosemanuk.c: SRD(S2, 2, 3, 1, 4, 32);
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:848:6: note: expanded from macro 'SRD'
sosemanuk.c: ^ U32TO32_LITTLE(u ## x0 ^ v0); \
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:974:2: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
sosemanuk.c: SRD(S2, 2, 3, 1, 4, 48);
sosemanuk.c: ^
sosemanuk.c: ./e/sosemanuk.c:848:6: note: expanded from macro 'SRD'
sosemanuk.c: ^ U32TO32_LITTLE(u ## x0 ^ v0); \
sosemanuk.c: ^
sosemanuk.c: ...

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/sosemanuk
clang -march=rv64imafdc -mtune=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/sosemanuk
clang -march=rv64imafdc -mtune=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/sosemanuk
clang -march=rv64imafdc -mtune=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/sosemanuk
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/submissions/sosemanuk

Compiler output

Implementation: T:e/submissions/sosemanuk
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
sosemanuk.c: In file included from sosemanuk.c:1:
sosemanuk.c: e/sosemanuk.c: In function 'sosemanuk_internal':
sosemanuk.c: e/sosemanuk.c:848:27: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
sosemanuk.c: 848 | ^ U32TO32_LITTLE(u ## x0 ^ v0); \
sosemanuk.c: | ^~~~~~~~~~~~~~
sosemanuk.c: e/sosemanuk.c:959:9: note: in expansion of macro 'SRD'
sosemanuk.c: 959 | SRD(S2, 2, 3, 1, 4, 0);
sosemanuk.c: | ^~~
try.c: /usr/bin/ld: libcrypto_stream_sosemanuk.a(sosemanuk.o): in function `.L5':
try.c: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_sosemanuk.a(sosemanuk.o): in function `.L9':
try.c: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_sosemanuk.a(sosemanuk.o):sosemanuk.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/sosemanuk
gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/sosemanuk
gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/sosemanuk

Compiler output

Implementation: T:e/submissions/sosemanuk
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
sosemanuk.c: In file included from sosemanuk.c:1:
sosemanuk.c: e/sosemanuk.c: In function 'sosemanuk_internal':
sosemanuk.c: e/sosemanuk.c:848:27: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
sosemanuk.c: 848 | ^ U32TO32_LITTLE(u ## x0 ^ v0); \
sosemanuk.c: | ^~~~~~~~~~~~~~
sosemanuk.c: e/sosemanuk.c:959:9: note: in expansion of macro 'SRD'
sosemanuk.c: 959 | SRD(S2, 2, 3, 1, 4, 0);
sosemanuk.c: | ^~~
try.c: /usr/bin/ld: libcrypto_stream_sosemanuk.a(sosemanuk.o): in function `.L0 ':
try.c: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: sosemanuk.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_sosemanuk.a(sosemanuk.o):sosemanuk.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:e/submissions/sosemanuk