Commit ec2309289d39dcdfd1a766b945b46d8a0e0be3a4
1 parent
29bfb117
sparc-softmmu build fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2219 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-sparc/op_helper.c
@@ -12,12 +12,12 @@ void raise_exception(int tt) | @@ -12,12 +12,12 @@ void raise_exception(int tt) | ||
12 | #ifdef USE_INT_TO_FLOAT_HELPERS | 12 | #ifdef USE_INT_TO_FLOAT_HELPERS |
13 | void do_fitos(void) | 13 | void do_fitos(void) |
14 | { | 14 | { |
15 | - FT0 = int32_to_float32(*((int32_t *)&FT1)); | 15 | + FT0 = int32_to_float32(*((int32_t *)&FT1), &env->fp_status); |
16 | } | 16 | } |
17 | 17 | ||
18 | void do_fitod(void) | 18 | void do_fitod(void) |
19 | { | 19 | { |
20 | - DT0 = int32_to_float64(*((int32_t *)&FT1)); | 20 | + DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status); |
21 | } | 21 | } |
22 | #endif | 22 | #endif |
23 | 23 |