about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2016-06-27 16:03:10 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2016-06-30 14:56:14 -0300
commit35da2541c382d1d4b7c9a15049a3cd1c7a6863a3 (patch)
tree39f2d5f579d68b7aa495a67598c7842bf2458db1 /sysdeps/powerpc/fpu
parent9765ffa71030efd8bb4f2ea4ed6e020fcb4bb714 (diff)
downloadglibc-35da2541c382d1d4b7c9a15049a3cd1c7a6863a3.tar.gz
glibc-35da2541c382d1d4b7c9a15049a3cd1c7a6863a3.tar.xz
glibc-35da2541c382d1d4b7c9a15049a3cd1c7a6863a3.zip
powerpc: Add a POWER8-optimized version of expf()
This implementation is based on the one already used at
sysdeps/x86_64/fpu/e_expf.S.

This implementation improves the performance by ~14% on average in synthetic
benchmarks at the cost of decreasing accuracy to 1 ULP.
Diffstat (limited to 'sysdeps/powerpc/fpu')
-rw-r--r--sysdeps/powerpc/fpu/libm-test-ulps2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
index f918f52fd3..7f37c813d0 100644
--- a/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/sysdeps/powerpc/fpu/libm-test-ulps
@@ -1588,8 +1588,10 @@ ildouble: 2
 ldouble: 2
 
 Function: "exp_upward":
+float: 1
 double: 1
 idouble: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1