[PATCH RFC] allow inline intrinsics for __ieee754_sqrt/f

jon@beniston.com jon@beniston.com
Fri Aug 24 22:25:00 GMT 2018


Hi Wilco,

>>> You can replace all calls to it by sqrt, except for w_sqrt.c and  
>>> wf_sqrt.c
>>
> >While -fno-builtin is still being used, this would just make the code slower though.
>
>No it would be faster even with -fno-builtin given that practically all uses of sqrt will execute the instruction, not the call.

Not all targets have a sqrt instruction though.

Cheers,
Jon




More information about the Newlib mailing list