Skip to contentSkip to conversation

Fix sparc build failure

PATCH New Thiemo Seufer 1 participant 1 message Nov 21, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix sparc build failure

Hello All,

this patch fixes a compile error in the sparc emulation.

Thiemo

target-sparc/op_helper.c +2 -2
Index: qemu-work/target-sparc/op_helper.c
===================================================================
@@ -12,12 +12,12 @@
 #ifdef USE_INT_TO_FLOAT_HELPERS
 void do_fitos(void)
 {
-    FT0 = int32_to_float32(*((int32_t *)&FT1));
+    FT0 = int32_to_float32(*((int32_t *)&FT1), &env->fp_status);
 }
 
 void do_fitod(void)
 {
-    DT0 = int32_to_float64(*((int32_t *)&FT1));
+    DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status);
 }
 #endif