openbsd-ports/emulators/qemu/patches/patch-target-sparc_op_helper_c

19 lines
569 B
Plaintext
Raw Normal View History

$OpenBSD: patch-target-sparc_op_helper_c,v 1.3 2007/02/19 22:59:33 kili Exp $
--- target-sparc/op_helper.c.orig Fri Jan 5 18:29:09 2007
+++ target-sparc/op_helper.c Fri Jan 5 18:29:28 2007
@@ -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