diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-04 14:08:08 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-04 14:08:08 +0000 |
commit | 06f7332ab9ba2f4a7e24f5b7c58473c4aa558ddb (patch) | |
tree | 0aba39ecba4ba87b34ce4a436f18ccffd6905f17 /target-ppc/op_helper.c | |
parent | c609b12e1f41866b2cf82c6b5a5f871fd6bcd4f6 (diff) |
target-ppc: fix previous commit
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6516 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r-- | target-ppc/op_helper.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 17a99768d9..b8e5538587 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -1502,6 +1502,7 @@ uint64_t helper_fsqrt (uint64_t arg) uint64_t helper_fre (uint64_t arg) { CPU_DoubleU farg; + farg.ll = arg; if (unlikely(float64_is_signaling_nan(farg.d))) { /* sNaN reciprocal */ @@ -1515,8 +1516,9 @@ uint64_t helper_fre (uint64_t arg) /* fres - fres. */ uint64_t helper_fres (uint64_t arg) { - CPU_Double farg; + CPU_DoubleU farg; float32 f32; + farg.ll = arg; if (unlikely(float64_is_signaling_nan(farg.d))) { /* sNaN reciprocal */ @@ -1534,6 +1536,7 @@ uint64_t helper_frsqrte (uint64_t arg) { CPU_DoubleU farg; float32 f32; + farg.ll = arg; if (unlikely(float64_is_signaling_nan(farg.d))) { /* sNaN reciprocal square root */ |