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 | 120 | endian ! */ |
121 | 121 | typedef union { |
122 | 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 | 125 | struct { |
125 | 126 | uint32_t upper; |
126 | 127 | uint32_t lower; | ... | ... |