linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Detecting LD/ST instruction
@ 2013-08-22 22:55 Sukadev Bhattiprolu
  2013-08-22 23:31 ` Michael Neuling
  0 siblings, 1 reply; 4+ messages in thread
From: Sukadev Bhattiprolu @ 2013-08-22 22:55 UTC (permalink / raw)
  To: linuxppc-dev


I am working on implementing the 'perf mem' command for Power
systems. This would for instance, let us know where in the memory
hierarchy (L1, L2, Local RAM etc) the data for a load/store
instruction was found (hit).

On Power7, if the mcmcra[DCACHE_MISS] is clear _and_ the
instruction is a load/store, then it implies a L1-hit.

Unlike on Power8, the Power7 event vector has no indication
if the instruction was load/store.

In the context of a PMU interrupt, is there any way to determine
if an instruction is a load/store ?

Sukadev

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-26  1:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22 22:55 Detecting LD/ST instruction Sukadev Bhattiprolu
2013-08-22 23:31 ` Michael Neuling
2013-08-24  8:47   ` Sukadev Bhattiprolu
2013-08-26  1:37     ` Michael Neuling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).