This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH RFC] allow inline intrinsics for __ieee754_sqrt/f


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]