Linux MIPS Architecture development
 help / color / mirror / Atom feed
* way selection bit for multi-way cache
@ 2003-04-10 18:05 Jun Sun
  2003-04-10 18:50 ` Mike Uhler
  0 siblings, 1 reply; 15+ messages in thread
From: Jun Sun @ 2003-04-10 18:05 UTC (permalink / raw)
  To: linux-mips; +Cc: jsun


If a cache is multi-way set associative cache, one must
select the way for indexed cache operations.

The most common way selection is to use MSBs in the addressing
range of the whole cache size.  In other word, a two-way
cache of size d would use bit (log(d)-1) to select the way.

Some other CPUs often the LSB(s) in the address to select
ways.  Examples include R5432, R5500, TX49, TX39.  Does
anybody know other such CPUs?

And I think I have seen a third kind way selection, but I
can't remember which CPU it is.  Does anybody know any
other way selection schemes?

Thanks.

Jun

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

end of thread, other threads:[~2003-04-11 12:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-10 18:05 way selection bit for multi-way cache Jun Sun
2003-04-10 18:50 ` Mike Uhler
2003-04-10 18:55   ` Jun Sun
2003-04-10 19:24   ` Ralf Baechle
2003-04-10 19:37     ` Mike Uhler
2003-04-10 19:37       ` Mike Uhler
2003-04-10 20:09       ` Ralf Baechle
2003-04-10 20:28         ` Mike Uhler
2003-04-10 20:28           ` Mike Uhler
2003-04-10 20:52           ` Ralf Baechle
2003-04-11  6:33             ` Dominic Sweetman
2003-04-11  8:15               ` Kevin D. Kissell
2003-04-11  8:15                 ` Kevin D. Kissell
2003-04-11 12:10                 ` Ralf Baechle
2003-04-11 11:35               ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox