[PATCH 2/6] Remove slow paths from sin/cos
Siddhesh Poyarekar
siddhesh@gotplt.org
Fri Mar 9 16:17:00 GMT 2018
On Friday 09 March 2018 09:16 PM, Wilco Dijkstra wrote:
> This patch removes 2nd of the 3 range reduction cases and defer to the final one.
> Input values above 2^27 are extremely rare, so this case doesn't need to as be
> optimized as smaller inputs.
Please elaborate on two more points:
- The basis for your claim that values above 2^27 are extremely rare,
i.e. papers that you may have referred that conclude this and/or
applications you may have profiled
- The quantum of performance loss due to dropping the 2nd case.
Thanks,
Siddhesh
More information about the Libc-alpha
mailing list