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-03-15 19:21:36 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-03-15 19:21:36 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-08-03 19:55:04 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-02-15 12:41:05 +00:00
2017-08-03 19:55:04 +00:00
2018-03-15 19:21:36 +00:00
2018-03-15 19:21:36 +00:00
2013-10-17 16:03:24 +02:00
2018-03-15 19:21:36 +00:00
2018-03-15 19:21:36 +00:00
2018-03-15 19:21:36 +00: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
2017-08-03 19:55:04 +00:00
2018-01-01 00:32:25 +00:00
2017-08-03 19:55:04 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-03-01 20:33:46 -05:00
2012-02-26 16:10:46 +01:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-08-24 15:56:11 +01:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-02-15 12:41:05 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-03-15 19:21:36 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-10-03 17:47:35 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2018-02-10 02:08:43 +00:00
2018-03-20 00:34:52 +00:00
2017-09-29 23:54:33 +00:00
2018-02-10 02:08:43 +00:00
2018-02-01 21:01:00 +00:00
2017-10-03 17:47:35 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-10-03 20:56:46 +00:00
2018-01-01 00:32:25 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2018-03-20 00:34:52 +00:00
2018-01-01 00:32:25 +00:00
2018-02-01 21:01:00 +00:00
2018-02-01 21:01:00 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-02-01 20:40:48 +00:00
2017-10-03 23:44:41 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-10-03 23:46:23 +00:00
2017-10-03 17:47:35 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-10-03 17:47:35 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2014-06-20 07:48:20 +05:30
2015-09-16 21:11:00 +00:00
2018-01-01 00:32:25 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2018-01-01 00:32:25 +00:00
2018-04-03 16:52:17 +01:00
2018-04-03 16:52:17 +01:00
2018-01-01 00:32:25 +00:00
2017-09-29 23:54:33 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-02-12 11:33:33 +00:00
2018-01-01 00:32:25 +00:00
2018-02-07 12:24:43 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00