Commit 9d60cac01fa5f0c36d49ae8df3ad040d13606700
1 parent
8e96005d
ARM double ordering fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1356 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
cpu-all.h
@@ -120,7 +120,8 @@ static inline void tswap64s(uint64_t *s) | @@ -120,7 +120,8 @@ static inline void tswap64s(uint64_t *s) | ||
120 | endian ! */ | 120 | endian ! */ |
121 | typedef union { | 121 | typedef union { |
122 | float64 d; | 122 | float64 d; |
123 | -#if defined(WORDS_BIGENDIAN) || (defined(__arm__) && !defined(__VFP_FP__)) | 123 | +#if defined(WORDS_BIGENDIAN) \ |
124 | + || (defined(__arm__) && !defined(__VFP_FP__) && !defined(CONFIG_SOFTFLOAT)) | ||
124 | struct { | 125 | struct { |
125 | uint32_t upper; | 126 | uint32_t upper; |
126 | uint32_t lower; | 127 | uint32_t lower; |