Fwd: Different behaviour of RTEMS in QEMU/i386 and SPARC
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Oct 31 12:17:35 UTC 2011
If I compile paranoia.c with
gcc -O2 -m32 -mfpmath=387 paranoia.c -lm
then I get this
[...]
The number of FAILUREs encountered = 4.
The number of SERIOUS DEFECTs discovered = 4.
The number of DEFECTs discovered = 3.
The number of FLAWs discovered = 2.
[...]
In case you floating point operations are not fully IEEE 754 conform the
paranoia program my hang in infinite loops.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list