| 114 |
#define tswapls(s) tswap64s((uint64_t *)(s)) |
#define tswapls(s) tswap64s((uint64_t *)(s)) |
| 115 |
#endif |
#endif |
| 116 |
|
|
| 117 |
/* NOTE: arm is horrible as double 32 bit words are stored in big endian ! */ |
/* NOTE: arm FPA is horrible as double 32 bit words are stored in big |
| 118 |
|
endian ! */ |
| 119 |
typedef union { |
typedef union { |
| 120 |
double d; |
double d; |
| 121 |
#if !defined(WORDS_BIGENDIAN) && !defined(__arm__) |
#if defined(WORDS_BIGENDIAN) || (defined(__arm__) && !defined(__VFP_FP__)) |
| 122 |
struct { |
struct { |
|
uint32_t lower; |
|
| 123 |
uint32_t upper; |
uint32_t upper; |
| 124 |
|
uint32_t lower; |
| 125 |
} l; |
} l; |
| 126 |
#else |
#else |
| 127 |
struct { |
struct { |
|
uint32_t upper; |
|
| 128 |
uint32_t lower; |
uint32_t lower; |
| 129 |
|
uint32_t upper; |
| 130 |
} l; |
} l; |
| 131 |
#endif |
#endif |
| 132 |
uint64_t ll; |
uint64_t ll; |