Hi,
One strange thing I noticed w.r.t data cache hits/misses is the apparent
lack of impact it has on cycle timings. Hits seem to cost the same as
misses at least in terms of the profiler results... in this case two
different instructions with very different hit ratios have almost
exactly the same cycle sum.
$000362a0 : move.w a3,d0 0.09%
(166384, 665736, 670, 0)
$000362a2 : move.w d0,d1 0.09%
(166384, 663084, 22, 0)
$000362a4 : add.w d2,d0 0.09%
(166384, 665844, 695, 0)
$000362a6 : move.b (a0)+,d1 0.09%
(166384, *1331344*, 44, 212) <- hit ratio of 0.1%
$000362a8 : move.w (a6,d1.l*2),(a1)+ 0.09%
(166384, 1999512, 715, 66190)
$000362ac : move.w d0,d1 0.09%
(166384, 2768, 660, 0)
$000362ae : add.w d2,d0 0.09%
(166384, 663048, 24, 0)
$000362b0 : move.b (a0)+,d1 0.09%
(166384, *1331444*, 679, 154776) <- hit ratio of 93%
$000362b2 : move.w (a6,d1.l*2),(a1)+ 0.09%
(166384, 1999176, 712, 82447)