summaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-04-07 19:55:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-04-07 19:55:52 +0000
commit9d60cac01fa5f0c36d49ae8df3ad040d13606700 (patch)
treeb807e992838171a23f3d10b08f701a33e93c57ca /cpu-all.h
parent8e96005d86cba6b2ce177f489463eda602d99238 (diff)
downloadqemu-9d60cac01fa5f0c36d49ae8df3ad040d13606700.tar.gz
ARM double ordering fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1356 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 25f9cea7a4..448f2c5bae 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -120,7 +120,8 @@ static inline void tswap64s(uint64_t *s)
endian ! */
typedef union {
float64 d;
-#if defined(WORDS_BIGENDIAN) || (defined(__arm__) && !defined(__VFP_FP__))
+#if defined(WORDS_BIGENDIAN) \
+ || (defined(__arm__) && !defined(__VFP_FP__) && !defined(CONFIG_SOFTFLOAT))
struct {
uint32_t upper;
uint32_t lower;