Implementation notes: riscv64, riscvunleashed000, crypto_aead/aes128n12silcv1

Computer: riscvunleashed000
Microarchitecture: riscv64; U54 (sifive,u54-mc)
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: aes128n12silcv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
67903827052 0 037447 792 848T:refgcc_-mcpu=sifive-u54_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420231222
71994122745 0 033992 784 848T:refclang_-march=rv64imafdc_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420231222
71997122745 0 033992 784 848T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420231222
72094522589 0 033444 784 848T:refclang_-march=rv64imafdc_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420231222
72097922589 0 033444 784 848T:refclang_-march=rv64imafdc_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420231222
72404222053 0 031246 776 841T:refclang_-march=rv64imafdc_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024011420231222
73927724198 0 032967 792 848T:refgcc_-mcpu=sifive-u54_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420231222
80196523330 0 031303 776 848T:refgcc_-mcpu=sifive-u54_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420231222
91614123700 0 032187 784 848T:refgcc_-mcpu=sifive-u54_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420231222

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
silc.c: silc.c:39:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("processing nonce:", NULL);
silc.c: ^
silc.c: silc.c:101:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("After xoring message block:", es);
silc.c: ^
silc.c: silc.c:106:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("After xoring ciphertext block:", es);
silc.c: ^
silc.c: silc.c:110:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("tag state:", ts);
silc.c: ^
silc.c: silc.c:127:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("After xoring last partial message block:", es);
silc.c: ^
silc.c: silc.c:132:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("After xoring last partial ciphertext block:", es);
silc.c: ^
silc.c: silc.c:136:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("tag state:", ts);
silc.c: ^
silc.c: silc.c:147:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
silc.c: pstate2("After xoring the legnth of message:", ts);
silc.c: ^
silc.c: 8 warnings generated.

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
silc.c: silc.c: In function 'process_ad':
silc.c: silc.c:39:9: warning: implicit declaration of function 'pstate2'; did you mean 'pstate'? [-Wimplicit-function-declaration]
silc.c: 39 | pstate2("processing nonce:", NULL);
silc.c: | ^~~~~~~
silc.c: | pstate

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref