[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation)
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 |
User-agent: |
KMail/1.9.1 |
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 <stdio.h>
> > 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