[PATCH RFC] allow inline intrinsics for __ieee754_sqrt/f

Wilco Dijkstra Wilco.Dijkstra@arm.com
Fri Aug 17 19:20:00 GMT 2018


jon@beniston.com wrote:

>> You can replace all calls to it by sqrt, except for w_sqrt.c and wf_sqrt.c
where you leave it as is.
>>So there is no recursion.
>
> But then it will not be inlined. I'd like it to be.

You could add machine/*/w_sqrt.c too that use sqrt. Or in the generic one
call the builtin rather than __ieee754_sqrt based on a define. But none of
this will improve performance or codesize.

Wilco 
    


More information about the Newlib mailing list