On Thu, 18 Dec 2014, Kyrill Tkachov wrote: > I see that there are some intrinsics implemented in terms of __builtin_fabsf, > presumable they can be at 'risk' too of having a library call emitted?
The semantics of fabsf/fabs/fabsl are to clear the sign bit, never raise any exceptions (even for signaling NaN arguments, subject to any limitations imposed by calling conventions / floating-point load conventions on the processor) and never set errno, as per IEEE 754-2008 (and the C bindings thereto, TS 18661-1:2014). So there is certainly no need to call a library function for __builtin_fabsf, but I don't know whether the implementation guarantees never to generate such a call. -- Joseph S. Myers jos...@codesourcery.com