Implementation notes: riscv64, hifiveunleashedriscv, crypto_hash/nasha512

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_hash
Primitive: nasha512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
6723630216 0 436297 736 131800opt_v4gcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
6730134086 0 441522 744 131800opt_v4gcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
7020728992 0 434713 720 131800opt_v4gcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
7303511430 0 018810 736 728optgcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
763946698 0 012719 728 728optgcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
770716404 0 012065 712 728optgcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
7771429998 0 435993 736 131800opt_v4gcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221
821786504 0 012439 728 728optgcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019123020191221

Compiler output

Implementation: opt_v4
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Nasha.c: Nasha.c: In function 'Init':
Nasha.c: Nasha.c:815:29: warning: assignment to 'uint_16t' {aka 'short unsigned int'} from 'uint_16t *' {aka 'short unsigned int *'} makes integer from pointer without a cast [-Wint-conversion]
Nasha.c: 815 | ssbox[i][j] = ssbox[i^j];
Nasha.c: | ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4

Namespace violations

Implementation: opt
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Nasha.o Final T
Nasha.o Hash T
Nasha.o Init T
Nasha.o Nasha224_Final T
Nasha.o Nasha224_Hash T
Nasha.o Nasha224_Init T
Nasha.o Nasha256_Final T
Nasha.o Nasha256_Hash T
Nasha.o Nasha256_Init T
Nasha.o Nasha256_Update T
Nasha.o Nasha256_compile T
Nasha.o Nasha384_Final T
Nasha.o Nasha384_Hash T
Nasha.o Nasha384_Init T
Nasha.o Nasha512_Final T
Nasha.o Nasha512_Hash T
Nasha.o Nasha512_Init T
Nasha.o Nasha512_Update T
Nasha.o Nasha512_compile T
Nasha.o Nasha_Final1 T
Nasha.o Nasha_Final2 T
Nasha.o Update T
Nasha.o i224H1 R
Nasha.o i224H2 R
Nasha.o i256H1 R
Nasha.o i256H2 R
Nasha.o i384H1 R
Nasha.o i384H2 R
Nasha.o i512H1 R
Nasha.o i512H2 R

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt

Namespace violations

Implementation: opt_v4
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
Nasha.o Final T
Nasha.o Hash T
Nasha.o Init T
Nasha.o Nasha224_Final T
Nasha.o Nasha224_Hash T
Nasha.o Nasha224_Init T
Nasha.o Nasha256_Final T
Nasha.o Nasha256_Hash T
Nasha.o Nasha256_Init T
Nasha.o Nasha256_Update T
Nasha.o Nasha256_compile T
Nasha.o Nasha384_Final T
Nasha.o Nasha384_Hash T
Nasha.o Nasha384_Init T
Nasha.o Nasha512_Final T
Nasha.o Nasha512_Hash T
Nasha.o Nasha512_Init T
Nasha.o Nasha512_Update T
Nasha.o Nasha512_compile T
Nasha.o Nasha_Final1 T
Nasha.o Nasha_Final2 T
Nasha.o Update T
Nasha.o i224H1 R
Nasha.o i224H2 R
Nasha.o i256H1 R
Nasha.o i256H2 R
Nasha.o i384H1 R
Nasha.o i384H2 R
Nasha.o i512H1 R
Nasha.o i512H2 R
Nasha.o imaSSBOX B
Nasha.o ssbox C

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE opt_v4