Building metal does mtvt CSR operations, and since that's a CLIC thing it's not part of the upstream GCC port. We should just fall back to a register number if possible, but if we're using all the compiler support it might be better to just fall back to CLINT mode.
Building metal does
mtvt
CSR operations, and since that's a CLIC thing it's not part of the upstream GCC port. We should just fall back to a register number if possible, but if we're using all the compiler support it might be better to just fall back to CLINT mode.See https://github.com/riscv/riscv-gnu-toolchain/issues/423 for more details.