Closed quite closed 1 year ago
For Debian packages (also usable in Ubuntu) of clang one can use https://apt.llvm.org/ but of course requires that you trust another package repo. Might want to wait until at least Ubuntu gets it.
May be helpful: https://github.com/riscv/riscv-isa-manual/issues/869
The correct -march seems to be -march=rv32iczmmul
. I have tried adding a DIV in our inline asm. With imc
it compiles, with iczmmul
clang complains that it needs 'M'.
Do we need a test with C code that really produces a DIV on imc
, but not on iczmmul
?
Zmmul changes to firmware and apps merged.
This will allow us to bring in the PicoRV32 with ENABLE_DIV=0, and use the freed resources in the FPGA for other things.
This will require clang-15. Is this sensible to do until Ubuntu 22.04 LTS gets clang-15 -- will it get it?