From: Matthew Chapman <matthewc@cse.unsw.edu.au>
To: linux-ia64@vger.kernel.org
Subject: Re: RSE and incomplete register frame
Date: Thu, 03 Aug 2006 05:41:36 +0000 [thread overview]
Message-ID: <20060803054136.GA1327@cse.unsw.EDU.AU> (raw)
In-Reply-To: <44D05F9F.3070804@hob.de>
Hi Christian,
It took me a while to get my head around this. I'm not convinced that
the documentation is incorrect, although they are maybe looking at it
from a slightly different perspective.
Keep in mind Figure 6-3... the current partition is above the dirty
partition is above the clean partition. RSE operation should preserve
this relationship (as I see it).
Also, note that the registers in the current partition, even though not
technically part of the dirty partition, are necessarily dirty... they
may be targeted at any time by writebacks.
> while developing an instruction set simulator
I'd be interested in learning more about this simulator :)
> incomplete register frame (ASDM vol. 2) to be inaccurate. It says that
> the incomplete frame becomes complete when RSE.ndirty_words becomes
> non-negative by executing mandatory RSE loads. However, mandatory RSE
> loads are not touching BSPSTORE or the dirty partition.
Indirectly they are, because presumably the dirty partition (and BSPSTORE)
must remain squeezed between the invalid partition and the current
partition (albeit being zero-size, or negative-size depending on how you
look at it - the invalid partition extends into the current partition!).
> RSE loads are extending the clean partition.
IMHO there is no clean partition. The RSE loads are targeting the current
frame so they are immediately dirty+current.
> Furthermore if you consider RSE.BOF to
> end up inside the clean partition after a br.ret or rfi, then BSPSTORE
> is located above BSP.
RSE.BOF by definition ends up in the current partition (which is
immediately dirty), which is above the other dirty registers (if any) in
the dirty partition, which is above the clean partition. Hence in the
normal case BSPSTORE is less than or equal to BSP.
Hope this helps, feel free to argue with me if you disagree.
Matt
next prev parent reply other threads:[~2006-08-03 5:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-02 8:17 RSE and incomplete register frame Christian Hildner
2006-08-03 5:41 ` Matthew Chapman [this message]
2006-08-03 9:09 ` Christian Hildner
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=20060803054136.GA1327@cse.unsw.EDU.AU \
--to=matthewc@cse.unsw.edu.au \
--cc=linux-ia64@vger.kernel.org \
/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