about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2018-08-23 12:38:16 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2018-08-23 12:38:16 +0100
commit900fb446eb8172c54cdaed85107bc783ee50673a (patch)
tree80ecbb5c9245698a5b5c70b1070f621e77834dec /ChangeLog
parent561b0bec4448f0302cb4915bf67c919bde4a1c57 (diff)
downloadglibc-900fb446eb8172c54cdaed85107bc783ee50673a.tar.gz
glibc-900fb446eb8172c54cdaed85107bc783ee50673a.tar.xz
glibc-900fb446eb8172c54cdaed85107bc783ee50673a.zip
Speedup tanf range reduction
Speedup tanf range reduction by using the new sincosf range
reduction algorithm.  Overall code quality is improved due to
inlining, so there is a speedup even if no range reduction is
required.

tanf throughput gains on Cortex-A72:
* |x| < M_PI_4  : 1.1x
* |x| < M_PI_2  : 1.2x
* |x| < 2 * M_PI: 1.5x
* |x| < 120.0   : 1.6x
* |x| < Inf     : 12.1x

	* sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a22301f323..2c902f2b98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-23  Wilco Dijkstra  <wdijkstr@arm.com>
+
+	* sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
+
 2018-08-22  DJ Delorie  <dj@redhat.com>
 
 	* Makefile (testroot.pristine): New rules to initialize the