4 ms·
Is there GCC toolchain already for this ISA ? Also, wonder how difficult would it be to add MMU to MC1 ?
by ruslan 3y ago
Is there GCC toolchain already for this ISA ?
Also, wonder how difficult would it be to add MMU to MC1 ?
- mbitsnbites 3y agoAn MMU is somewhere on the TODO list. I'm still focusing on user space and I still have not added support for interrupts or exceptions. Exceptions in particular is something that I want to research more before I dive into implementation. So far I am of the opinion that memory faults is the only exception kind that you actually expect to see during normal program execution (IEEE-754 exceptions don't count, they are archaic and not really necessary). All other exceptions are exceptional and usually result in abnormal program termination (i.e. there's really no need to provide low latency precise exception handling for them). With that in mind, I want to investigate how to best handle memory faults, rather than just implement exceptions (although memory faults are usually handled by exceptions). There's also the issue that I want to support gather-scatter vector memory operations, which can be tricky w.r.t. memory faults (potentially a single instruction can produce one memory fault for every vector element).
- snvzz 3y ago>gcc There is a port. If you click on resources on the page's top bar, it yields this page[0]. 0. https://mrisc32.bitsnbites.eu/resources.html https://mrisc32.bitsnbites.eu/resources.html
- mbitsnbites 3y agoYup. Latest and greatest GCC 14: https://gitlab.com/mrisc32/mrisc32-gnu-toolchain https://gitlab.com/mrisc32/mrisc32-gnu-toolchain