qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation)


From: Anderson Lizardo
Subject: [Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation)
Date: Wed, 1 Mar 2006 18:18:29 -0400

Hi,

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;
}

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]