[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] linux-user exception handling
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] linux-user exception handling |
Date: |
Wed, 27 Aug 2008 22:26:42 +0300 |
On 8/27/08, Vince Weaver <address@hidden> wrote:
> On Wed, 27 Aug 2008, Blue Swirl wrote:
>
> >
> > With this patch I get the sequence AA to MM and then back to AA.
> > Strangely Sparc32 prints AA to MM and then back to BB, never reaches
> > AA.
> >
>
> Your patch is much better than mine, with it all of the gcc spec2k inputs
> work. So I'm all for committing it.
Okay, I committed it.
The address where the windows are saved may be incorrect, perhaps the
stack bias of -2047 should be added?
> One semi-related thing, according to the documentation V9 increments CWP on
> save and decrements it on restore, while V8 does the opposite. I'm not sure
> if it is worth making the Qemu save/restore code behave that way too.
Maybe, I can't remember why I did it like that. It could have had
something to with register layout.