Blame qemu-0.8.2-target-sparc.patch
|
Matthias Saou |
5c9bd8 |
diff -Naupr qemu-0.8.2.orig/target-sparc/op_helper.c qemu-0.8.2/target-sparc/op_helper.c
|
|
Matthias Saou |
5c9bd8 |
--- qemu-0.8.2.orig/target-sparc/op_helper.c 2006-07-22 19:23:34.000000000 +0200
|
|
Matthias Saou |
5c9bd8 |
+++ qemu-0.8.2/target-sparc/op_helper.c 2006-08-24 10:58:30.000000000 +0200
|
|
Matthias Saou |
5c9bd8 |
@@ -12,12 +12,12 @@ void raise_exception(int tt)
|
|
Matthias Saou |
5c9bd8 |
#ifdef USE_INT_TO_FLOAT_HELPERS
|
|
Matthias Saou |
5c9bd8 |
void do_fitos(void)
|
|
Matthias Saou |
5c9bd8 |
{
|
|
Matthias Saou |
5c9bd8 |
- FT0 = int32_to_float32(*((int32_t *)&FT1));
|
|
Matthias Saou |
5c9bd8 |
+ FT0 = int32_to_float32(*((int32_t *)&FT1), &env->fp_status);
|
|
Matthias Saou |
5c9bd8 |
}
|
|
Matthias Saou |
5c9bd8 |
|
|
Matthias Saou |
5c9bd8 |
void do_fitod(void)
|
|
Matthias Saou |
5c9bd8 |
{
|
|
Matthias Saou |
5c9bd8 |
- DT0 = int32_to_float64(*((int32_t *)&FT1));
|
|
Matthias Saou |
5c9bd8 |
+ DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status);
|
|
Matthias Saou |
5c9bd8 |
}
|
|
Matthias Saou |
5c9bd8 |
#endif
|
|
Matthias Saou |
5c9bd8 |
|