[PATCH 0/5] Use generic sinf, cosf, and sincosf for i686
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Jun 1 13:12:51 GMT 2022
On 01/06/2022 09:36, Adhemerval Zanella wrote:
>
>
> On 31/05/2022 18:53, Noah Goldstein wrote:
>> On Tue, May 31, 2022 at 4:50 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>>>
>>> On Tue, May 31, 2022 at 2:48 PM Noah Goldstein <goldstein.w.n@gmail.com> wrote:
>>>>
>>>> On Tue, May 31, 2022 at 4:35 PM Adhemerval Zanella via Libc-alpha
>>>> <libc-alpha@sourceware.org> wrote:
>>>>>
>>>>> Performance seems to be similar, with generic implementation showing
>>>>> slight better performance for sinf large inputs and for sincosf.
>>>>>
>>>>> Although generic implementation shows slight lower precision (the
>>>>> ulp data required some adjustments), the code size shows a good
>>>>> improvement:
>>>>>
>>>>
>>>> How much loss of precision?
>>>
>>> About 1ULP.
>>
>> Should be okay then. Does:
>> https://www.gnu.org/software/libc/manual/html_node/Errors-in-Math-Functions.html
>> need to be updated?
>
> Good call, I will send a patch to update the documentation.
>
In fact the table is already auto-generated from libm-ulps files, so there is
no need to change anything.
More information about the Libc-alpha
mailing list