Thank you so much Ali! 
 
I am running in o3 mode. I will follow you instructions. By the way, what is 
the default number of registers in o3 ALPHA_FS?
 
Regards,
Teng




To: [email protected]
Date: Tue, 14 Feb 2012 15:43:05 -0600
From: [email protected]
Subject: Re: [gem5-users] How to track the content of registers in gem5?


HI Teng,
 
It depends on where you are. Internally the CPU models have different ways of 
mapping registers. From an external point of view this is wrapped up in a 
ThreadContext (tc). Nominally, you can call tc->readIntReg(<regnum>) and should 
get the right thing.
 
Ali
 
On 14.02.2012 14:32, Teng Lu wrote:

Hi,
 
I want to get the content of CPU registers while gem5 is running. How does gem5 
map the registers? In other words, which parameters should I observe?
 
Thanks a lot!
 
Regards,
Teng
 
 
 
 
_______________________________________________ gem5-users mailing list 
[email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users        
                                  
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to