From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FSVcy-0002sV-Cv for qemu-devel@nongnu.org; Sun, 09 Apr 2006 04:50:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FSVct-0002sF-Va for qemu-devel@nongnu.org; Sun, 09 Apr 2006 04:50:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSVct-0002sC-QZ for qemu-devel@nongnu.org; Sun, 09 Apr 2006 04:50:31 -0400 Received: from [66.249.92.171] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FSVhH-0003XO-2u for qemu-devel@nongnu.org; Sun, 09 Apr 2006 04:55:03 -0400 Received: by uproxy.gmail.com with SMTP id s2so410880uge for ; Sun, 09 Apr 2006 01:50:30 -0700 (PDT) Date: Sun, 9 Apr 2006 10:49:12 +0200 From: Lyonel Vincent Message-Id: <20060409104912.52cf2e8b.lyonel.vincent@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [resend] i386 emulation on PowerPC host 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 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 #include 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.