Hi,

I am trying to read the values in source registers during the rename stage of 
the O3 processor for an instruction, e.g., add R2, R1, R0 ( get/print values 
contained in those registers).
In GDB, I put a breakpoint at the end of the rename stage, and my goal is to 
read the values contained in the registers of my instruction. When I run this 
line of code 
print/x cpu->readIntReg(inst.data.regs.renamedSrcIdx(1)), GDB usually prints 
zeros.
 
Am I doing something wrong or am I using the wrong function for checking the 
values in src and dest of the registers?
_______________________________________________
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

Reply via email to