[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1233225] Re: mips/mipsel linux user float division
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [Bug 1233225] Re: mips/mipsel linux user float division problem |
Date: |
Wed, 2 Oct 2013 10:39:29 +0900 |
On 2 October 2013 02:51, Stefan Weil <address@hidden> wrote:
> I can confirm that something is strange with MIPS Linux user emulation,
> but get a different result (which is also wrong):
>
> # Your test code is in file divtest.c.
> $ mipsel-linux-gnu-gcc-4.7 -g -static divtest.c
> $ mipsel-linux-user/qemu-mipsel a.out
> 0.000000
Does the CPU you're asking qemu to emulate match the CPU gcc is
generating code for? IIRC for MIPS there's no single "right" answer
for "which CPU do we default to"...
-- PMM