Wilco Dijkstra 7a5640f23a [PATCH 2/7] sin/cos slow paths: remove large range reduction
This patch removes the large range reduction code and defers to the huge range
reduction code.  The first level range reducer supports inputs up to 2^27,
which is way too large given that inputs for sin/cos are typically small
(< 10), and optimizing for a smaller range would give a significant speedup.

Input values above 2^27 are practically never used, so there is no reason for
supporting range reduction between 2^27 and 2^48.  Removing it significantly
simplifies code and enables further speedups.  There is about a 2.3x slowdown
in this range due to __branred being extremely slow  (a better algorithm could
easily more than double performance).

	* sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
	(do_sincos_2): Likewise.
	(__sin): Remove middle range reduction case.
	(__cos): Likewise.
	* sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
	reduction case.
2018-04-03 16:52:17 +01:00
..
2018-02-15 12:41:05 +00:00
2013-10-17 16:03:24 +02:00
2017-09-29 18:54:24 +01:00
2017-09-29 18:54:24 +01:00
2017-09-29 18:54:24 +01:00
2018-02-07 12:24:43 +00:00
2018-02-12 10:47:09 +00:00
2018-02-15 12:41:05 +00:00
2018-02-10 02:08:43 +00:00
2018-02-10 02:08:43 +00:00
2018-03-20 00:34:52 +00:00
2015-09-16 21:11:00 +00:00
2018-02-12 11:33:33 +00:00
2018-02-07 12:24:43 +00:00