diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2012-05-15 10:32:28 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2012-05-15 10:32:28 -0500 |
commit | 777b1eea9df942aebc5ba38566111e667ddaaf91 (patch) | |
tree | 70215d44761a29177ae7f329b2c752a0a7cb3210 /sysdeps/powerpc/powerpc64 | |
parent | 62f9bae74361ce47ec0246791e0014a620124705 (diff) | |
download | glibc-777b1eea9df942aebc5ba38566111e667ddaaf91.tar.gz glibc-777b1eea9df942aebc5ba38566111e667ddaaf91.tar.xz glibc-777b1eea9df942aebc5ba38566111e667ddaaf91.zip |
PowerPC - logb[f|l] optimization for POWER7
This patch provides optimized logb (1.2x on PPC32 and 2.5x on PPC64), logbf (1.1x on PPC32 and 2.2x on PPC64), and logbl (1.3x on PPC32 and 50% on PPC64) for the POWER7 processor.
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c b/sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c new file mode 100644 index 0000000000..ff3a9e0c77 --- /dev/null +++ b/sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c @@ -0,0 +1 @@ +#include <sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c> diff --git a/sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c b/sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c new file mode 100644 index 0000000000..e79a28f775 --- /dev/null +++ b/sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c @@ -0,0 +1 @@ +#include <sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c> diff --git a/sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c b/sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c new file mode 100644 index 0000000000..463e411b4e --- /dev/null +++ b/sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c @@ -0,0 +1 @@ +#include <sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c> |