Skip to content

Commit

Permalink
target-ppc: fix previous commit
Browse files Browse the repository at this point in the history
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6516 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
aurel32 committed Feb 4, 2009
1 parent c609b12 commit 06f7332
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion target-ppc/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand All @@ -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 */
Expand Down

0 comments on commit 06f7332

Please sign in to comment.