Sparc target does not build on powerpc anymore. Not quite sure if the
following patch is correct, but it fixes the problem.
-- Heikki Lindholm
--- target-sparc/op_helper.c.old 2006-08-03 10:10:16.000000000 +0300
+++ target-sparc/op_helper.c 2006-08-03 09:45:14.000000000 +0300
@@ -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
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel