Implementation notes: riscv64, hifiveunleashedriscv, crypto_kem/hila5

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_kem
Primitive: hila5
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
225792717693 0 030179 752 1544optgcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
231356315739 0 026815 752 1544optgcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
237655715301 0 026253 752 1544optgcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
243826715013 0 025623 736 1544optgcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
1071923807809 0 820020193 736 9744refgcc_-march=rv64gc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
1089018664893 0 820015405 720 9744refgcc_-march=rv64gc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
1095498485251 0 820016217 736 9744refgcc_-march=rv64gc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221
1124242605205 0 820016067 736 9744refgcc_-march=rv64gc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020010220191221

Compiler output

Implementation: avx2
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
ms_x64_ntt.S: ms_x64_ntt.S: Assembler messages:
ms_x64_ntt.S: ms_x64_ntt.S:18: Error: unknown pseudo-op: `.intel_syntax'
ms_x64_ntt.S: ms_x64_ntt.S:68: Error: unrecognized opcode `push r12'
ms_x64_ntt.S: ms_x64_ntt.S:69: Error: unrecognized opcode `push r13'
ms_x64_ntt.S: ms_x64_ntt.S:70: Error: unrecognized opcode `push r14'
ms_x64_ntt.S: ms_x64_ntt.S:73: Error: unrecognized opcode `mov r9,1'
ms_x64_ntt.S: ms_x64_ntt.S:74: Error: unrecognized opcode `mov rax,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:75: Error: unrecognized opcode `mov r12,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:76: Error: unrecognized opcode `shr r12,4'
ms_x64_ntt.S: ms_x64_ntt.S:77: Error: unrecognized opcode `vmovdqu ymm14,MASK12x8'
ms_x64_ntt.S: ms_x64_ntt.S:78: Error: unrecognized opcode `vmovdqu ymm12,PERM0246'
ms_x64_ntt.S: ms_x64_ntt.S:79: Error: unrecognized opcode `mov r14,16'
ms_x64_ntt.S: ms_x64_ntt.S:80: Error: unrecognized opcode `mov rcx,11'
ms_x64_ntt.S: ms_x64_ntt.S:82: Error: unrecognized opcode `shr rax,1'
ms_x64_ntt.S: ms_x64_ntt.S:83: Error: unrecognized opcode `dec rcx'
ms_x64_ntt.S: ms_x64_ntt.S:84: Error: illegal operands `xor rdx,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:86: Error: unrecognized opcode `mov r10,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:87: Error: unrecognized opcode `mov r11,rax'
ms_x64_ntt.S: ms_x64_ntt.S:88: Error: unrecognized opcode `dec r11'
ms_x64_ntt.S: ms_x64_ntt.S:89: Error: unrecognized opcode `shl r10,cl'
ms_x64_ntt.S: ms_x64_ntt.S:90: Error: illegal operands `add r11,r10'
ms_x64_ntt.S: ms_x64_ntt.S:91: Error: unrecognized opcode `mov r13,r9'
ms_x64_ntt.S: ms_x64_ntt.S:92: Error: illegal operands `add r13,rdx'
ms_x64_ntt.S: ms_x64_ntt.S:93: Error: unrecognized opcode `vbroadcastss ymm11,DWORD PTR[rsi+4*r13]'
ms_x64_ntt.S: ms_x64_ntt.S:96: Error: unrecognized opcode `mov r13,r10'
ms_x64_ntt.S: ...

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

Namespace violations

Implementation: opt
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hila5_sha3_opt.o hila5_sha3 T
hila5_sha3_opt.o hila5_sha3_final T
hila5_sha3_opt.o hila5_sha3_init T
hila5_sha3_opt.o hila5_sha3_update T
hila5_sha3_opt.o hila5_shake_out T
hila5_sha3_opt.o hila5_shake_xof T
ms_ntt.o mslc_correction T
ms_ntt.o mslc_intt T
ms_ntt.o mslc_ntt T
ms_ntt.o mslc_pmul T
ms_ntt.o mslc_pmuladd T
ms_ntt.o mslc_smul T
ms_ntt.o mslc_two_reduce12289 T
ms_ntt_const.o mslc_inv_rev_ntt1024 R
ms_ntt_const.o mslc_psi_rev_ntt1024 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: ref
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hila5_sha3_ref.o hila5_sha3 T
hila5_sha3_ref.o hila5_sha3_final T
hila5_sha3_ref.o hila5_sha3_init T
hila5_sha3_ref.o hila5_sha3_keccakf T
hila5_sha3_ref.o hila5_sha3_update T
hila5_sha3_ref.o hila5_shake_out T
hila5_sha3_ref.o hila5_shake_xof T
kem.o slow_rmul T

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