about summary refs log tree commit diff
path: root/sysdeps/ieee754/k_standardl.c
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 /sysdeps/ieee754/k_standardl.c
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 'sysdeps/ieee754/k_standardl.c')
0 files changed, 0 insertions, 0 deletions