From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIBEw-0007Bh-OF for qemu-devel@nongnu.org; Sat, 11 Mar 2006 16:03:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIBEu-00079H-W6 for qemu-devel@nongnu.org; Sat, 11 Mar 2006 16:03:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIBEu-00078z-TQ for qemu-devel@nongnu.org; Sat, 11 Mar 2006 16:03:04 -0500 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FIBIV-0007dr-GW for qemu-devel@nongnu.org; Sat, 11 Mar 2006 16:06:47 -0500 From: Paul Brook Subject: Re: [Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation) Date: Sat, 11 Mar 2006 21:02:58 +0000 References: <5b5833aa0603011418j33a74eb4ob9bde3906cad8790@mail.gmail.com> <200603061503.18426.uli@suse.de> In-Reply-To: <200603061503.18426.uli@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603112102.59861.paul@codesourcery.com> 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 Monday 06 March 2006 14:03, Ulrich Hecht wrote: > Hi! > > On Wednesday 01 March 2006 23:18, Anderson Lizardo wrote: > > I was having some issues with the latest qemu (ARM user emulation), > > which I tracked down to the following reduced test case: > > > > #include > > int main(void) > > { > > float a, b; > > a = 0.1f; > > b = 0.8f; > > printf("a < b: %d\n", (a < b)); > > return 0; > > } > > This fails because of a bug in the glue code between NWFPE and QEMU. (It > relies on a specific layout of the CPUARMState structure.) >... > + cpsr_write(user_registers,x,~CPSR_M); This should be CPSR_NZCV. Applied with that change. Paul