From 900fb446eb8172c54cdaed85107bc783ee50673a Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Thu, 23 Aug 2018 12:38:16 +0100 Subject: 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. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a22301f323..2c902f2b98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-08-23 Wilco Dijkstra + + * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction. + 2018-08-22 DJ Delorie * Makefile (testroot.pristine): New rules to initialize the -- cgit 1.4.1