From 60f5a8b534207734cdbc75dd3ad26b804036609c Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 25 Feb 2013 12:01:45 +0530 Subject: [PATCH] Sync up powerpc __mp_dbl with default code --- ChangeLog | 7 +++++++ sysdeps/powerpc/powerpc32/power4/fpu/mpa.c | 4 +--- sysdeps/powerpc/powerpc64/power4/fpu/mpa.c | 4 +--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 400f775..026c49e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-02-25 Siddhesh Poyarekar + + * 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 * manual/socket.texi (The Internet Namespace): Order menu items diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c b/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c index 9a617fd..f30d2cb 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c @@ -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); diff --git a/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c b/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c index 9a617fd..f30d2cb 100644 --- a/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c +++ b/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c @@ -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); -- 2.7.4