target-sparc fpu fix
PATCH 1/1 target-sparc fpu fix
Sparc target does not build on powerpc anymore. Not quite sure if the following patch is correct, but it fixes the problem.
-- Heikki Lindholm
op_helper.c renamed from op_helper.c.old +2 -2
@@ -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