* [Qemu-devel] [5618] Fix ARM default NaN.
@ 2008-11-04 12:33 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-11-04 12:33 UTC (permalink / raw)
To: qemu-devel
Revision: 5618
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5618
Author: pbrook
Date: 2008-11-04 12:33:21 +0000 (Tue, 04 Nov 2008)
Log Message:
-----------
Fix ARM default NaN.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Modified Paths:
--------------
trunk/fpu/softfloat-specialize.h
Modified: trunk/fpu/softfloat-specialize.h
===================================================================
--- trunk/fpu/softfloat-specialize.h 2008-11-04 09:04:41 UTC (rev 5617)
+++ trunk/fpu/softfloat-specialize.h 2008-11-04 12:33:21 UTC (rev 5618)
@@ -61,7 +61,7 @@
*----------------------------------------------------------------------------*/
#if defined(TARGET_SPARC)
#define float32_default_nan make_float32(0x7FFFFFFF)
-#elif defined(TARGET_POWERPC)
+#elif defined(TARGET_POWERPC) || defined(TARGET_ARM)
#define float32_default_nan make_float32(0x7FC00000)
#elif defined(TARGET_HPPA)
#define float32_default_nan make_float32(0x7FA00000)
@@ -186,7 +186,7 @@
*----------------------------------------------------------------------------*/
#if defined(TARGET_SPARC)
#define float64_default_nan make_float64(LIT64( 0x7FFFFFFFFFFFFFFF ))
-#elif defined(TARGET_POWERPC)
+#elif defined(TARGET_POWERPC) || defined(TARGET_ARM)
#define float64_default_nan make_float64(LIT64( 0x7FF8000000000000 ))
#elif defined(TARGET_HPPA)
#define float64_default_nan make_float64(LIT64( 0x7FF4000000000000 ))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-04 12:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04 12:33 [Qemu-devel] [5618] Fix ARM default NaN 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).