* [Qemu-devel] [6516] target-ppc: fix previous commit
@ 2009-02-04 14:08 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-02-04 14:08 UTC (permalink / raw)
To: qemu-devel
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 <aurelien@aurel32.net>
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-04 14:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 14:08 [Qemu-devel] [6516] target-ppc: fix previous commit Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).