Conversation
|
Hmm. I do not see |
|
Patch the Rust compiler as well, e.g. https://git.m-labs.hk/M-Labs/HeavyX/commit/033659344f1bdfcc893fee13156bb224872bb4a4 |
|
Could you upstream this first? It should be an easy task. |
|
Also double-check that you are targeting softcores with Privileged Architecture Version 1.10 support. These crates ( |
|
I added riscv32i-unknown-none-elf to Rust, so I can merge this in a day if you still need it. However, this PR needs to be rebased first. |
|
Thanks! |
|
Couldn't test since rust-embedded/riscv-rt#31 broke rust-embedded/riscv-rt#34 |
|
Yes, we need to figure out what to do with that mul instruction on riscv32i |
As it'd be only a small iteration up to # of harts, won't lose much by replacing it with a loop, maybe conditionally on non-M. |
Sure, the change is not difficult, but it needs to be done for corresponding |
|
bors r+ |
Build succeeded |
This adds support for the simplest RISC-V processor possible, which is useful e.g. for experimenting with FPGA softcore implementations.