]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/fpu/softfloat.h
softfloat: expand out STATUS_VAR
[mirror_qemu.git] / include / fpu / softfloat.h
index fab2aee1adaac0aa402dd7cef07c04f8179565c0..d13fd0ee33387d1dbb646fe89e004a81e24f01df 100644 (file)
@@ -109,7 +109,6 @@ typedef int64_t int64;
 #define LIT64( a ) a##LL
 
 #define STATUS(field) status->field
-#define STATUS_VAR , status
 
 /*----------------------------------------------------------------------------
 | Software IEC/IEEE floating-point ordering relations
@@ -329,22 +328,22 @@ float128 uint64_to_float128(uint64_t, float_status *status);
 /* We provide the int16 versions for symmetry of API with float-to-int */
 static inline float32 int16_to_float32(int16_t v, float_status *status)
 {
-    return int32_to_float32(v STATUS_VAR);
+    return int32_to_float32(v, status);
 }
 
 static inline float32 uint16_to_float32(uint16_t v, float_status *status)
 {
-    return uint32_to_float32(v STATUS_VAR);
+    return uint32_to_float32(v, status);
 }
 
 static inline float64 int16_to_float64(int16_t v, float_status *status)
 {
-    return int32_to_float64(v STATUS_VAR);
+    return int32_to_float64(v, status);
 }
 
 static inline float64 uint16_to_float64(uint16_t v, float_status *status)
 {
-    return uint32_to_float64(v STATUS_VAR);
+    return uint32_to_float64(v, status);
 }
 
 /*----------------------------------------------------------------------------