* [Qemu-devel] QEMU x86_64: problems with floats
@ 2006-12-15 10:10 Ludovic Drolez
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Drolez @ 2006-12-15 10:10 UTC (permalink / raw)
To: qemu-devel
Hi !
I've found a bug in Qemu FPU emulation: conversion of floats to strings fails
in some cases. For example, Ganglia (cluster monitoring software), shows
random values. If I add debug in gmond, I get this:
VALUE =2.G= =2.343750=
VALUE =2.G= =2.343750=
VALUE =9Ö= =93.487236=
VALUE =0.6o= =0.640000=
VALUE =0.1;= =0.119600=
VALUE =0.00= =0.000311=
VALUE =0.0= =0.000000=
VALUE =0.0= =0.000000=
VALUE =9.ê= =95.312500=
VALUE =0.9= =0.940000=
VALUE =0.4Y= =0.420000=
VALUE =0.1;= =0.113054=
VALUE =0.00= =0.000536=
On the left the float is converted with apr_sprintf, and on the right with
printf. Also, floating point operations in PHP also fail...
I tested with Qemu 0.8.2 and today's CVS. Of course, it works with a real
system (the disk image was then installed on a PE1950).
Any ideas ?
--
Ludovic DROLEZ Linbox / Free&ALter Soft
www.linbox.com www.linbox.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] QEMU x86_64: problems with floats
@ 2006-12-15 9:40 Ludovic Drolez
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Drolez @ 2006-12-15 9:40 UTC (permalink / raw)
To: qemu-devel
Hi !
I've found a bug in Qemu FPU emulation: conversion of floats to strings fails
in some cases. For example, Ganglia (cluster monitoring software), shows
random values. If I add debug in gmond, I get this:
VALUE =2.G= =2.343750=
VALUE =2.G= =2.343750=
VALUE =9Ö= =93.487236=
VALUE =0.6o= =0.640000=
VALUE =0.1;= =0.119600=
VALUE =0.00= =0.000311=
VALUE =0.0= =0.000000=
VALUE =0.0= =0.000000=
VALUE =9.ê= =95.312500=
VALUE =0.9= =0.940000=
VALUE =0.4Y= =0.420000=
VALUE =0.1;= =0.113054=
VALUE =0.00= =0.000536=
On the left the float is converted with apr_sprintf, and on the right with
printf. Also, floating point operations in PHP also fail...
I tested with Qemu 0.8.2 and today's CVS. Of course, it works with a real
system (the disk image was then installed on a PE1950).
Any ideas ?
--
Ludovic DROLEZ Linbox / Free&ALter Soft
www.linbox.com www.linbox.org tel: +33 3 87 50 87 90
152 rue de Grigy - Technopole Metz 2000 57070 METZ
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-15 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-15 10:10 [Qemu-devel] QEMU x86_64: problems with floats Ludovic Drolez
-- strict thread matches above, loose matches on Subject: below --
2006-12-15 9:40 Ludovic Drolez
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).