Have you tried using the --debug-flags=Cache option? That should give you
all the info you need.

-Tony

On Tue, May 29, 2012 at 3:36 PM, Simon Garcia de Gonzalo <[email protected]
> wrote:

> Hi,
>
> How can I find the address in cache that is being accessed when I commit a
> load or a store?
>
> Right now I'm working in the cpu/o3/lsq_unit_impl.hh and I'm having
> trouble understanding how could I access this information from the
> commitLoad() function
>
> Inside this function I have been able to successfully access the PC when a
> load is committed by using something like:
> loadQueue[loadHead]->pcState()
>
> I'm wondering if I could use a similar method to find out what address the
> instruction is accessing in the cache.
>
> Thanks in advance for any help
> Simon
>
> _______________________________________________
> 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