qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation)
@ 2006-03-01 22:18 Anderson Lizardo
  2006-03-06 14:03 ` Ulrich Hecht
  0 siblings, 1 reply; 4+ messages in thread
From: Anderson Lizardo @ 2006-03-01 22:18 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-11 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01 22:18 [Qemu-devel] qemu regression 0.7.2 -> 0.8.0 (ARM user emulation) Anderson Lizardo
2006-03-06 14:03 ` Ulrich Hecht
2006-03-07 20:22   ` Anderson Lizardo
2006-03-11 21:02   ` Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).