riscv-tools
riscv-tools copied to clipboard
tutorial on adding new instructions to RISCV ISA?
Does anyone know how to add new instruction to RISCV ISA? I researched online but did not find good detailed/step-by-step on how to.
Thanks
This question has been asked a few times on sw-dev. though these mostly talk about the software side, i.e. updating tools to support the new instruction. https://groups.google.com/a/groups.riscv.org/forum/#!searchin/sw-dev/adding$20|sort:date/sw-dev/CF82G6YjDak/HY7uZhLCAQAJ https://groups.google.com/a/groups.riscv.org/forum/#!searchin/sw-dev/adding$20|sort:date/sw-dev/sL_OHXYj3LY/Gsm6sBc9BQAJ
This question has been asked a few times on sw-dev. though these mostly talk about the software side, i.e. updating tools to support the new instruction. https://groups.google.com/a/groups.riscv.org/forum/#!searchin/sw-dev/adding$20|sort:date/sw-dev/CF82G6YjDak/HY7uZhLCAQAJ https://groups.google.com/a/groups.riscv.org/forum/#!searchin/sw-dev/adding$20|sort:date/sw-dev/sL_OHXYj3LY/Gsm6sBc9BQAJ
Thank you so much for your answers. I checked out these links and think they are very helpful. However, since I am very very new to ISA and RISCV and anything relating to assembly, I found it was extremely hard to just follow the instructions in the links. I don't know if we have any step by step tutorial with pictures and explanation of each step and commands out there to help the noobs. it would be great for the starter and enlarge the community. Thanks again.