From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUiQE-00039e-Cw for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:08:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUiQE-00039M-3C for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:08:10 -0500 Received: from [199.232.76.173] (port=50740 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUiQD-00039F-Q2 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:08:09 -0500 Received: from savannah.gnu.org ([199.232.41.3]:37454 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUiQD-0003Fn-ER for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:08:09 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LUiQC-0003VA-V6 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 14:08:09 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LUiQC-0003V6-No for qemu-devel@nongnu.org; Wed, 04 Feb 2009 14:08:08 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Wed, 04 Feb 2009 14:08:08 +0000 Subject: [Qemu-devel] [6516] target-ppc: fix previous commit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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 */