Sync up powerpc __mp_dbl with default code

This commit is contained in:
Siddhesh Poyarekar 2013-02-25 12:01:45 +05:30
parent faf6f8bca8
commit 60f5a8b534
3 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
* sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
up changes with default code.
* sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
Likewise.
2013-02-24 Allan McRae <allan@archlinux.org>
* manual/socket.texi (The Internet Namespace): Order menu items

View File

@ -304,9 +304,7 @@ __mp_dbl (const mp_no *x, double *y, int p)
return;
}
if (EX > -42)
norm (x, y, p);
else if (EX == -42 && X[1] >= TWO10)
if (__glibc_likely (EX > -42 || (EX == -42 && X[1] >= TWO10)))
norm (x, y, p);
else
denorm (x, y, p);

View File

@ -304,9 +304,7 @@ __mp_dbl (const mp_no *x, double *y, int p)
return;
}
if (EX > -42)
norm (x, y, p);
else if (EX == -42 && X[1] >= TWO10)
if (__glibc_likely (EX > -42 || (EX == -42 && X[1] >= TWO10)))
norm (x, y, p);
else
denorm (x, y, p);