提交 9d60cac0 编写于 作者: B bellard

ARM double ordering fix (Paul Brook)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1356 c046a42c-6fe2-441c-8c8c-71466251a162
上级 8e96005d
...@@ -120,7 +120,8 @@ static inline void tswap64s(uint64_t *s) ...@@ -120,7 +120,8 @@ static inline void tswap64s(uint64_t *s)
endian ! */ endian ! */
typedef union { typedef union {
float64 d; float64 d;
#if defined(WORDS_BIGENDIAN) || (defined(__arm__) && !defined(__VFP_FP__)) #if defined(WORDS_BIGENDIAN) \
|| (defined(__arm__) && !defined(__VFP_FP__) && !defined(CONFIG_SOFTFLOAT))
struct { struct {
uint32_t upper; uint32_t upper;
uint32_t lower; uint32_t lower;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册