]> git.proxmox.com Git - mirror_qemu.git/blobdiff - cpu-all.h
target-arm: Set Invalid flag for NaN in float-to-int conversions
[mirror_qemu.git] / cpu-all.h
index 4f4631d79c6684986e4686c7d4279f36fe2c51b5..0bae6df8ec7e879e247602486082a33e47f7fda7 100644 (file)
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -138,11 +138,20 @@ typedef union {
     uint64_t ll;
 } CPU_DoubleU;
 
-#ifdef TARGET_SPARC
+#if defined(FLOATX80)
+typedef union {
+     floatx80 d;
+     struct {
+         uint64_t lower;
+         uint16_t upper;
+     } l;
+} CPU_LDoubleU;
+#endif
+
+#if defined(CONFIG_SOFTFLOAT)
 typedef union {
     float128 q;
-#if defined(HOST_WORDS_BIGENDIAN) \
-    || (defined(__arm__) && !defined(__VFP_FP__) && !defined(CONFIG_SOFTFLOAT))
+#if defined(HOST_WORDS_BIGENDIAN)
     struct {
         uint32_t upmost;
         uint32_t upper;