Hi, Perhaps this YouTube link will be useful. There is also a link to the slides in the video description and they cover some extra stuff, in particular about modifying the toolchain before building it so you can use the new instructions in your code.
https://www.youtube.com/watch?v=Z5B02jkNpck [https://i.ytimg.com/vi/Z5B02jkNpck/maxresdefault_live.jpg]<https://www.youtube.com/watch?v=Z5B02jkNpck> gem5 bootcamp 2022: Instruction execution and adding instructions<https://www.youtube.com/watch?v=Z5B02jkNpck> In this section, we go over how instructions execute in gem5's CPU models and how to add a new instruction to the RISC-V ISASlides: https://ucdavis365-my.sha... www.youtube.com Good luck! ________________________________ From: Setu Gupta <setu18...@iiitd.ac.in> Sent: Sunday, October 2, 2022 7:10 PM To: gem5-users@gem5.org <gem5-users@gem5.org> Subject: [gem5-users] Are there any tutorial available which demonstrate how to add custom instructions to gem5 Hi I am trying to add some custom instructions to the x86-64 ISA in gem5. However, I was not able to find much information regarding how to modify the ISA to make it support custom instructions online. So can someone please point out some resources which could help me. Thanks and Regards Setu Gupta Final Year ECE Undergraduate Indraprastha Institute of Information Technology, Delhi
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org