[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] i386 emulation on PowerPC host
From: |
Lyonel Vincent |
Subject: |
[Qemu-devel] i386 emulation on PowerPC host |
Date: |
Thu, 23 Mar 2006 23:44:00 -0000 |
Hi all,
Having noticed very wierd behaviour of some operations under an x86
Qemu guest running on a PowerPC (32 bits), I have compiled the
following test program under Linux/i386:
#include <stdio.h>
#include <math.h>
void main()
{
float x = exp(1)*exp(1);
float y = exp(2);
printf("%f = %f\n", x, y);
}
When run under native i386 Linux, this program displays:
$ ./mathtest
7.389056 = 7.389056
as expected
but with a CVS snapshot (as of 2006-03-23) of Qemu, one gets:
$ ./mathtest
7.389056 = -inf
[that's the same binary running under Linux/i386 inside Qemu on a
PowerPC host]
I also have other strange symptoms like cp sometimes complaining about
memory exhaustion but I haven't been able to reproduce those yet...
Does anybody have an idea of what the problem could be and how I could
help to fix that?
cheers,
Lyonel.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] i386 emulation on PowerPC host,
Lyonel Vincent <=