Implementation notes: riscv64, riscvunleashed000, crypto_kem/hila5

Computer: riscvunleashed000
Microarchitecture: riscv64; U54 (sifive,u54-mc)
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: hila5
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
224024118231 0 033034 800 1544T:optgcc_-mcpu=sifive-u54_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
227754016359 0 029532 800 1544T:optgcc_-mcpu=sifive-u54_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
229392115747 0 028732 800 1544T:optgcc_-mcpu=sifive-u54_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
240061618249 0 033463 800 1544T:optclang_-march=rv64imafdc_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
240175018249 0 033463 800 1544T:optclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
242031516695 0 031463 800 1544T:optclang_-march=rv64imafdc_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
242136115443 0 027892 784 1544T:optgcc_-mcpu=sifive-u54_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
242228316695 0 031463 800 1544T:optclang_-march=rv64imafdc_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
245382415423 0 028517 792 1537T:optclang_-march=rv64imafdc_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
1074217928337 0 820023038 784 9744T:refgcc_-mcpu=sifive-u54_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
1092457405637 0 820018532 784 9744T:refgcc_-mcpu=sifive-u54_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
1114634826025 0 820019092 784 9744T:refgcc_-mcpu=sifive-u54_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
1125556485321 0 820017664 768 9744T:refgcc_-mcpu=sifive-u54_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024013120231222
1478869987999 0 819322745 784 9737T:refclang_-march=rv64imafdc_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
1479070587999 0 819322745 784 9737T:refclang_-march=rv64imafdc_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
1499387769841 0 819325035 784 9737T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
1499428859841 0 819325035 784 9737T:refclang_-march=rv64imafdc_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222
1519571045931 0 819318989 776 9733T:refclang_-march=rv64imafdc_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024013120231222

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
ms_x64_ntt.S: ms_x64_ntt.S:18:1: error: unknown directive
ms_x64_ntt.S: .intel_syntax noprefix
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:37:12: error: invalid alignment value
ms_x64_ntt.S: .align 32
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:68:3: error: unrecognized instruction mnemonic, did you mean: sh?
ms_x64_ntt.S: push r12
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:69:3: error: unrecognized instruction mnemonic, did you mean: sh?
ms_x64_ntt.S: push r13
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:70:3: error: unrecognized instruction mnemonic, did you mean: sh?
ms_x64_ntt.S: push r14
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:73:3: error: unrecognized instruction mnemonic, did you mean: mv?
ms_x64_ntt.S: mov r9, 1
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:74:3: error: unrecognized instruction mnemonic, did you mean: mv?
ms_x64_ntt.S: mov rax, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:75:3: error: unrecognized instruction mnemonic, did you mean: mv?
ms_x64_ntt.S: mov r12, rdx
ms_x64_ntt.S: ^
ms_x64_ntt.S: ms_x64_ntt.S:76:3: error: unrecognized instruction mnemonic, did you mean: sh, sra, srl?
ms_x64_ntt.S: ...

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

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -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,[rip+MASK12x8]'
ms_x64_ntt.S: ms_x64_ntt.S:78: Error: unrecognized opcode `vmovdqu ymm12,[rip+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 -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2