Implementation notes: riscv64, riscvunleashed000, crypto_stream/snow20

Computer: riscvunleashed000
Microarchitecture: riscv64; U54 (sifive,u54-mc)
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_stream
Primitive: snow20

Compiler output

Implementation: T:e/benchmarks/snow-2.0
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
snow-2.0.c: In file included from snow-2.0.c:1:
snow-2.0.c: ./e/snow-2.0.c:69:41: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
snow-2.0.c: ((u32*)output)[i] = ((u32*)input)[i] ^ U32TO32_LITTLE(keystream[i]);
snow-2.0.c: ^
snow-2.0.c: 1 warning generated.
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o): in function `.LBB5_3':
try.c: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/benchmarks/snow-2.0
clang -march=rv64imafdc -mtune=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/benchmarks/snow-2.0
clang -march=rv64imafdc -mtune=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/benchmarks/snow-2.0

Compiler output

Implementation: T:e/benchmarks/snow-2.0
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
snow-2.0.c: In file included from snow-2.0.c:1:
snow-2.0.c: ./e/snow-2.0.c:69:41: warning: implicit declaration of function 'U32TO32_LITTLE' is invalid in C99 [-Wimplicit-function-declaration]
snow-2.0.c: ((u32*)output)[i] = ((u32*)input)[i] ^ U32TO32_LITTLE(keystream[i]);
snow-2.0.c: ^
snow-2.0.c: 1 warning generated.
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o): in function `.LBB5_2':
try.c: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o):snow-2.0.c:(.text+0x...): more undefined references to `U32TO32_LITTLE' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -march=rv64imafdc -mtune=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/benchmarks/snow-2.0
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:e/benchmarks/snow-2.0

Compiler output

Implementation: T:e/benchmarks/snow-2.0
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
snow-2.0.c: In file included from snow-2.0.c:1:
snow-2.0.c: e/snow-2.0.c: In function 'crypto_stream_snow20_e_benchmarks_snow_2_0_timingleaks_ECRYPT_process_bytes':
snow-2.0.c: e/snow-2.0.c:69:48: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
snow-2.0.c: 69 | ((u32*)output)[i] = ((u32*)input)[i] ^ U32TO32_LITTLE(keystream[i]);
snow-2.0.c: | ^~~~~~~~~~~~~~
snow-2.0.c: | U8TO32_LITTLE
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o): in function `.L22':
try.c: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: collect2: error: ld returned 1 exit status

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

Compiler output

Implementation: T:e/benchmarks/snow-2.0
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
snow-2.0.c: In file included from snow-2.0.c:1:
snow-2.0.c: e/snow-2.0.c: In function 'crypto_stream_snow20_e_benchmarks_snow_2_0_timingleaks_ECRYPT_process_bytes':
snow-2.0.c: e/snow-2.0.c:69:48: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
snow-2.0.c: 69 | ((u32*)output)[i] = ((u32*)input)[i] ^ U32TO32_LITTLE(keystream[i]);
snow-2.0.c: | ^~~~~~~~~~~~~~
snow-2.0.c: | U8TO32_LITTLE
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o): in function `.L32':
try.c: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: collect2: error: ld returned 1 exit status

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

Compiler output

Implementation: T:e/benchmarks/snow-2.0
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
snow-2.0.c: In file included from snow-2.0.c:1:
snow-2.0.c: e/snow-2.0.c: In function 'crypto_stream_snow20_e_benchmarks_snow_2_0_timingleaks_ECRYPT_process_bytes':
snow-2.0.c: e/snow-2.0.c:69:48: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
snow-2.0.c: 69 | ((u32*)output)[i] = ((u32*)input)[i] ^ U32TO32_LITTLE(keystream[i]);
snow-2.0.c: | ^~~~~~~~~~~~~~
snow-2.0.c: | U8TO32_LITTLE
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o): in function `.L19':
try.c: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
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/benchmarks/snow-2.0

Compiler output

Implementation: T:e/benchmarks/snow-2.0
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
snow-2.0.c: In file included from snow-2.0.c:1:
snow-2.0.c: e/snow-2.0.c: In function 'crypto_stream_snow20_e_benchmarks_snow_2_0_timingleaks_ECRYPT_process_bytes':
snow-2.0.c: e/snow-2.0.c:69:48: warning: implicit declaration of function 'U32TO32_LITTLE'; did you mean 'U8TO32_LITTLE'? [-Wimplicit-function-declaration]
snow-2.0.c: 69 | ((u32*)output)[i] = ((u32*)input)[i] ^ U32TO32_LITTLE(keystream[i]);
snow-2.0.c: | ^~~~~~~~~~~~~~
snow-2.0.c: | U8TO32_LITTLE
try.c: /usr/bin/ld: libcrypto_stream_snow20.a(snow-2.0.o): in function `.L16':
try.c: snow-2.0.c:(.text+0x...): undefined reference to `U32TO32_LITTLE'
try.c: collect2: error: ld returned 1 exit status

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