From: Jun Sun <jsun@mvista.com>
To: Mike Uhler <uhler@mips.com>
Cc: linux-mips@linux-mips.org, jsun@mvista.com
Subject: Re: way selection bit for multi-way cache
Date: Thu, 10 Apr 2003 11:55:52 -0700 [thread overview]
Message-ID: <20030410115552.F9002@mvista.com> (raw)
In-Reply-To: <200304101850.h3AIorK11089@uhler-linux.mips.com>; from uhler@mips.com on Thu, Apr 10, 2003 at 11:50:53AM -0700
On Thu, Apr 10, 2003 at 11:50:53AM -0700, Mike Uhler wrote:
> >
> > 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
> >
>
> I can't comment on anything but MIPS32 and MIPS64 CPUs, but the
> MIPS32 and MIPS64 standard is to use the bits above the index field
> to specify the way.
Yes. This is same as the "most common case" as I said above.
Maybe this is a better way to phrase it. :)
Jun
next prev parent reply other threads:[~2003-04-10 18:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030410115552.F9002@mvista.com \
--to=jsun@mvista.com \
--cc=linux-mips@linux-mips.org \
--cc=uhler@mips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox