Re: Why __builtin_sqrt do not totally replace sqrt in asm

2014-01-03 Thread Jakub Jelinek
On Fri, Jan 03, 2014 at 10:44:21AM +0100, BELBACHIR Selim wrote: > When the standard pattern 'sqrtm2' is defined I don't understand why calls > to sqrt or __builtin_sqrt is always followed by a comparison of the result > with itself (checking the NaN ?) and a conditional branch to sqrt symbol > (so

Why __builtin_sqrt do not totally replace sqrt in asm

2014-01-03 Thread BELBACHIR Selim
Hi, When the standard pattern 'sqrtm2' is defined I don't understand why calls to sqrt or __builtin_sqrt is always followed by a comparison of the result with itself (checking the NaN ?) and a conditional branch to sqrt symbol (so linking with libm is always mandatory). ---