* [Qemu-devel] [PATCH] Fix SPARC target build on Linux/PPC
@ 2006-09-11 7:19 David Woodhouse
0 siblings, 0 replies; only message in thread
From: David Woodhouse @ 2006-09-11 7:19 UTC (permalink / raw)
To: qemu-devel
The soft-float bits don't build on PPC. Patch from Matthias Saou
diff -Naupr qemu-0.8.2.orig/target-sparc/op_helper.c qemu-0.8.2/target-sparc/op_helper.c
--- qemu-0.8.2.orig/target-sparc/op_helper.c 2006-07-22 19:23:34.000000000 +0200
+++ qemu-0.8.2/target-sparc/op_helper.c 2006-08-24 10:58:30.000000000 +0200
@@ -12,12 +12,12 @@ void raise_exception(int tt)
#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
--
dwmw2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-11 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 7:19 [Qemu-devel] [PATCH] Fix SPARC target build on Linux/PPC David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).