diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-25 12:01:45 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-25 12:01:45 +0530 |
commit | 60f5a8b534207734cdbc75dd3ad26b804036609c (patch) | |
tree | f753b7176de21144e19fd4b2acac20375d4ee9bf /sysdeps | |
parent | faf6f8bca81560d4c644638dd69ac209424a618f (diff) | |
download | glibc-60f5a8b534207734cdbc75dd3ad26b804036609c.tar.gz glibc-60f5a8b534207734cdbc75dd3ad26b804036609c.tar.xz glibc-60f5a8b534207734cdbc75dd3ad26b804036609c.zip |
Sync up powerpc __mp_dbl with default code
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/fpu/mpa.c | 4 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power4/fpu/mpa.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c b/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c index 9a617fd88b..f30d2cb379 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 9a617fd88b..f30d2cb379 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); |