|
From: Josef W. <Jos...@gm...> - 2005-08-10 19:42:17
|
On Wednesday 10 August 2005 14:27, sv...@va... wrote:
> Author: sewardj
> Implement PREFETCH{W} m8.
Ah!
In callgrind, I once implemented a hardware prefetcher heuristic.
Can I catch prefetch instructions in a tool? Or are prefetches silently
discarded? At least it looks this way in this commit.
Would this be a use case for ABI hints?
The idea is to optionally see in callgrind (or cachegrind perhaps) the
best-case for a program using these software prefetching instructions: i.e.
the cache simulator would assume that the data is simply available after a
prefetch. Worst-case (ignoring them) is already shown by
callgrind/cachegrind.
Josef
|