If you want to do something every time the committed PC is updated, look
at the commit stage. If you want to do something every time the PC used
for fetching is updated, look in the fetch stage.

Gabe

On 11/28/11 15:55, Griffin Wright wrote:
> Hello oh mighty gem5-users,
>
> I'm changing some simulation stuff from what I've set up in the simple
> atomic mode to detailed(O3), and currently I do various checks and
> processes at every PC, triggered within the BaseSimpleCPU::advancePC(Fault
> fault) method in the src/cpu/simple structure.  However, I can find no
> function definition for advancePC within the O3 framework, though the
> method itself is called often. 
>
> So my question is, is there (and where can I find) a definition for
> advancePC somewhere in o3 that I'm missing, or is there some other thing I
> should be looking at to check values and do things every cycle/every time
> the PC is updated?
>
> Thanks a ton,
> Griffin Wright 
> _______________________________________________
> 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