[gem5-users] Adding pseudo instructions for ARM
Hello everyone. I'm trying to implement a prefetcher which is configurable by users. To implement it, I need a new pseudo instruction "prefetcher_setup" which will be called by benchmarks to setup some prefetcher attributes. I'm using ARM64 as my ISA. I found a tutorial which I think is implementing the functionality that I want: https://www.eecg.utoronto.ca/~elsayed9/website/blog/gem5_arm_pseudo_inst.php I think this tutorial is a bit old, some parts apply to the newest version of gem5 but other parts don't. If you can help, it would be great. Thanks a lot. ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Re: [gem5-users] Adding pseudo instructions in ARM
Hi Ciro, Thank you for your reply. I actually did that and managed to get it to work but forgot to update thread. I believe what confused me is the difference in the implementation of instruction decoding between AARCH64 and X86. Thanks again, Shehab On Fri, Oct 4, 2019 at 12:14 PM Ciro Santilli wrote: > Shebab, I don't think such tutorial exits. > > Could you try to just copy what is done for one of the other instructions? > It should not be hard if you try this way. > > Then if you have a more precise questions, do follow up. > > -- > *From:* gem5-users on behalf of Shehab > Elsayed > *Sent:* Tuesday, October 1, 2019 3:30 PM > *To:* gem5 users mailing list > *Subject:* [gem5-users] Adding pseudo instructions in ARM > > Hello All, > > I was wondering if there a document or a tutorial somewhere describing how > to add pseudo instructions in the ARM architecture. I went through the > process before but for X86. However, I see there are some differences > especially in adding the extra instructions to the ISA. > > Thanks in advance. > > Best Regards, > Shehab > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Adding pseudo instructions in ARM
Shebab, I don't think such tutorial exits. Could you try to just copy what is done for one of the other instructions? It should not be hard if you try this way. Then if you have a more precise questions, do follow up. From: gem5-users on behalf of Shehab Elsayed Sent: Tuesday, October 1, 2019 3:30 PM To: gem5 users mailing list Subject: [gem5-users] Adding pseudo instructions in ARM Hello All, I was wondering if there a document or a tutorial somewhere describing how to add pseudo instructions in the ARM architecture. I went through the process before but for X86. However, I see there are some differences especially in adding the extra instructions to the ISA. Thanks in advance. Best Regards, Shehab ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] Adding pseudo instructions in ARM
Hello All, I was wondering if there a document or a tutorial somewhere describing how to add pseudo instructions in the ARM architecture. I went through the process before but for X86. However, I see there are some differences especially in adding the extra instructions to the ISA. Thanks in advance. Best Regards, Shehab ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users