summaryrefslogtreecommitdiffstats
path: root/fpu/softfloat.h
diff options
context:
space:
mode:
authorGuan Xuetao2011-04-12 10:27:03 +0200
committerBlue Swirl2011-04-12 20:49:05 +0200
commitd2fbca94223ef573a67d4eb2f27509a9bbb85ca1 (patch)
treed664b734daab1020022b6405989f02df28b13987 /fpu/softfloat.h
parentunicore32: add necessry headers in linux-user/unicore32 for unicore32 support (diff)
downloadqemu-d2fbca94223ef573a67d4eb2f27509a9bbb85ca1.tar.gz
qemu-d2fbca94223ef573a67d4eb2f27509a9bbb85ca1.tar.xz
qemu-d2fbca94223ef573a67d4eb2f27509a9bbb85ca1.zip
unicore32: necessary modifications for other files to support unicore32
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'fpu/softfloat.h')
-rw-r--r--fpu/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 90f4250173..7abcbe899e 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -68,7 +68,7 @@ typedef int64_t int64;
#define LIT64( a ) a##LL
#define INLINE static inline
-#if defined(TARGET_MIPS) || defined(TARGET_SH4)
+#if defined(TARGET_MIPS) || defined(TARGET_SH4) || defined(TARGET_UNICORE32)
#define SNAN_BIT_IS_ONE 1
#else
#define SNAN_BIT_IS_ONE 0