From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FEjeN-0006OP-BA for qemu-devel@nongnu.org; Thu, 02 Mar 2006 03:59:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FEjeH-0006ML-LL for qemu-devel@nongnu.org; Thu, 02 Mar 2006 03:59:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEi1k-0002tB-PP for qemu-devel@nongnu.org; Thu, 02 Mar 2006 02:15:11 -0500 Received: from [64.233.162.202] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FEZfl-0002DG-O6 for qemu-devel@nongnu.org; Wed, 01 Mar 2006 17:19:53 -0500 Received: by zproxy.gmail.com with SMTP id s1so263266nze for ; Wed, 01 Mar 2006 14:18:29 -0800 (PST) Message-ID: <5b5833aa0603011418j33a74eb4ob9bde3906cad8790@mail.gmail.com> Date: Wed, 1 Mar 2006 18:18:29 -0400 From: "Anderson Lizardo" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation) 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, 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 =3D 0.1f; b =3D 0.8f; printf("a < b: %d\n", (a < b)); return 0; } Compile it with an ARM cross-compiler and run it with "qemu-arm". It should print a < b: 1 for qemu 0.7.2 and a < b: 0 for 0.8.0. Obviously, the first one is right. Tested with the following setup: qemu 0.7.2/0.8.0 arm-linux-gnu-gcc (GCC) 3.4.5 glibc 2.3.5 -- Anderson Lizardo Embedded Linux Lab - 10LE Nokia Institute of Technology - INdT Manaus - Brazil