qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6516] target-ppc: fix previous commit


From: Aurelien Jarno
Subject: [Qemu-devel] [6516] target-ppc: fix previous commit
Date: Wed, 04 Feb 2009 14:08:08 +0000

Revision: 6516
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6516
Author:   aurel32
Date:     2009-02-04 14:08:08 +0000 (Wed, 04 Feb 2009)

Log Message:
-----------
target-ppc: fix previous commit

Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/target-ppc/op_helper.c

Modified: trunk/target-ppc/op_helper.c
===================================================================
--- trunk/target-ppc/op_helper.c        2009-02-04 13:52:39 UTC (rev 6515)
+++ trunk/target-ppc/op_helper.c        2009-02-04 14:08:08 UTC (rev 6516)
@@ -1502,6 +1502,7 @@
 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 @@
 /* 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 @@
 {
     CPU_DoubleU farg;
     float32 f32;
+    farg.ll = arg;
 
     if (unlikely(float64_is_signaling_nan(farg.d))) {
         /* sNaN reciprocal square root */






reply via email to

[Prev in Thread] Current Thread [Next in Thread]