Hi all,
Recently, I wanted to add a new custom register in gem5, and the load/store 
instruction can take the custom register as src/dest register to move data from 
memory. Is there some suggestions about this?


And I have some confusion about the register implementation in gem5. In 
src/cpu/reg_class.hh/cc file, defining the RegClass and RegId class, if I add a 
new custom register, should I add a new Regclass, like CustomClass, and give it 
new RegId? And in the src/arch/arm, there are five files about the register: 
ccregs.hh??intregs.hh??miscregs.hh/cc ??registers.hh .In these files, everyone 
of these file almost enumorate the RegIndex, I understand it just a signature 
of a register, how can i map the register to the signature?


Thanks,
ZhangMeng 
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to