From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] linux-user exception handling
Date: Wed, 27 Aug 2008 20:14:07 +0300 [thread overview]
Message-ID: <f43fc5580808271014o1761a050q7cbde7b041027d1c@mail.gmail.com> (raw)
In-Reply-To: <20080827125223.H53558@stanley.csl.cornell.edu>
On 8/27/08, Vince Weaver <vince@csl.cornell.edu> wrote:
> On Mon, 25 Aug 2008, Blue Swirl wrote:
>
> >
> > No, register window handling and other exceptions are handled in
> > linux-user/main.c.
> >
>
> You are right. It can be frustrating tracing through the code trying to
> find out what is being called when.
>
> In any case, I think I've found a bug with register-window handling.
> When using sparc32plus, the "wim" value isn't being updated on a
> save_window() call. Thus when later a "ta 3" (flush register windows) call
> happens, the wrong windows get written out to memory.
>
> I've attached some sample code that shows this problem.
>
> The patch below fixes this for me, but it should be looked over carefully
> because the register window code in qemu is deep magic.
>
> This fix allows the spec2k gcc.scilab and fma3d benchmarks to progress
> further.
How is that possible, because V9 class CPUs do not have "wim"?
next prev parent reply other threads:[~2008-08-27 17:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-25 20:26 [Qemu-devel] linux-user exception handling Vince Weaver
2008-08-25 20:34 ` Blue Swirl
2008-08-27 16:58 ` Vince Weaver
2008-08-27 17:14 ` Blue Swirl [this message]
2008-08-27 17:30 ` Vince Weaver
2008-08-27 18:19 ` Blue Swirl
2008-08-27 19:02 ` Vince Weaver
2008-08-27 19:26 ` Blue Swirl
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=f43fc5580808271014o1761a050q7cbde7b041027d1c@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).