From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYQHw-0001Oo-GX for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:02:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYQHu-0001OB-Rf for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:02:40 -0400 Received: from [199.232.76.173] (port=44554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYQHu-0001O5-Kc for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:02:38 -0400 Received: from csl.cornell.edu ([128.84.224.10]:3774 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYQHu-0001j0-AA for qemu-devel@nongnu.org; Wed, 27 Aug 2008 15:02:38 -0400 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id m7RJ2Wgq076345 for ; Wed, 27 Aug 2008 15:02:37 -0400 (EDT) Date: Wed, 27 Aug 2008 15:02:32 -0400 (EDT) From: Vince Weaver Subject: Re: [Qemu-devel] linux-user exception handling In-Reply-To: Message-ID: <20080827143804.D54290@stanley.csl.cornell.edu> References: <20080825162105.T45325@stanley.csl.cornell.edu> <20080827125223.H53558@stanley.csl.cornell.edu> <20080827132255.U54074@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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. 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. Vince