gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Adding new instructions

RK
Robert Kingsly
Tue, Mar 18, 2025 9:10 AM

Hi
Wondering if anybody has prior experience with adding new instructions to the gem5 ISA models. Just for experimentation.
What are the files to be edited?
regardsRobert Kingsly Awww.linkedin.com/in/robertkingslya

Hi Wondering if anybody has prior experience with adding new instructions to the gem5 ISA models. Just for experimentation. What are the files to be edited? regardsRobert Kingsly Awww.linkedin.com/in/robertkingslya
BC
Boul Chandra Garai
Tue, Mar 18, 2025 1:33 PM

Hello Robert,
I found a YouTube presentation from the gem5 bootcamp 2022. It was a nice presentation by Ayaz Akram on adding new instructions to gem5. I hope this information helps.

https://www.youtube.com/watch?v=Z5B02jkNpck
[https://www.bing.com/th?id=OVP.7zrpFDQXt7oI7z_N07CFUgHgFo&pid=Api]https://www.youtube.com/watch?v=Z5B02jkNpck
gem5 bootcamp 2022: Instruction execution and adding instructionshttps://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 ISA Slides: https://github.com/gem5bootcamp/gem5-bootcamp-env/raw/main/assets/slides/develop-06-cpu-instructions.pdf More info: https://gem5bootcamp.github.io/gem5-bootcamp-env/ For comments, use the gem5-bootcamp channel in ...
www.youtube.com


From: Robert Kingsly via gem5-users gem5-users@gem5.org
Sent: Tuesday, March 18, 2025 2:40 PM
To: gem5-users@gem5.org gem5-users@gem5.org
Cc: Robert Kingsly robert_kingsly@yahoo.co.in
Subject: [gem5-users] Adding new instructions

External Email

Hi

Wondering if anybody has prior experience with adding new instructions to the gem5 ISA models. Just for experimentation.

What are the files to be edited?

regards
Robert Kingsly A
www.linkedin.com/in/robertkingslya

Hello Robert, I found a YouTube presentation from the gem5 bootcamp 2022. It was a nice presentation by Ayaz Akram on adding new instructions to gem5. I hope this information helps. https://www.youtube.com/watch?v=Z5B02jkNpck [https://www.bing.com/th?id=OVP.7zrpFDQXt7oI7z_N07CFUgHgFo&pid=Api]<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 ISA Slides: https://github.com/gem5bootcamp/gem5-bootcamp-env/raw/main/assets/slides/develop-06-cpu-instructions.pdf More info: https://gem5bootcamp.github.io/gem5-bootcamp-env/ For comments, use the gem5-bootcamp channel in ... www.youtube.com ________________________________ From: Robert Kingsly via gem5-users <gem5-users@gem5.org> Sent: Tuesday, March 18, 2025 2:40 PM To: gem5-users@gem5.org <gem5-users@gem5.org> Cc: Robert Kingsly <robert_kingsly@yahoo.co.in> Subject: [gem5-users] Adding new instructions External Email Hi Wondering if anybody has prior experience with adding new instructions to the gem5 ISA models. Just for experimentation. What are the files to be edited? regards Robert Kingsly A www.linkedin.com/in/robertkingslya