qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix sparc build failure


From: Thiemo Seufer
Subject: [Qemu-devel] [PATCH] Fix sparc build failure
Date: Tue, 21 Nov 2006 15:01:13 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Hello All,

this patch fixes a compile error in the sparc emulation.


Thiemo


Index: qemu-work/target-sparc/op_helper.c
===================================================================
--- qemu-work.orig/target-sparc/op_helper.c     2006-11-18 12:49:39.000000000 
+0000
+++ qemu-work/target-sparc/op_helper.c  2006-11-18 12:50:13.000000000 +0000
@@ -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
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]