Displaying 3 results from an estimated 3 matches for "sqrtsd".
Did you mean:
sqrtpd
2013 May 17
3
[LLVMdev] Inlining sqrt library function in X86
Using the following example program
#include <math.h>
double f(double d){
return sqrt(d);
}
and compiling it with "clang -O3 ...", I was trying to determine what it would take to get the X86 code generator to replace the call to sqrt with a sqrtsd instruction inline.
It turns out that it could do exactly that, were it not for the fact that in the function visitUnaryFloatCall() at line 5514 in SelectionDAGBuilder.cpp, the result of
!I.onlyReadsMemory()
Is true, so the code is unable to replace the function call with an ISD::FSQRT SDNode. I...
2013 May 17
0
[LLVMdev] Inlining sqrt library function in X86
...> Using the following example program
>
> #include <math.h>
>
> double f(double d){
> return sqrt(d);
> }
>
> and compiling it with “clang –O3 …”, I was trying to determine what it would take to get the X86 code generator to replace the call to sqrt with a sqrtsd instruction inline.
>
> It turns out that it could do exactly that, were it not for the fact that in the function visitUnaryFloatCall() at line 5514 in SelectionDAGBuilder.cpp, the result of
>
> !I.onlyReadsMemory()
>
> Is true, so the code is unable to replace the function...
2013 May 18
2
[LLVMdev] Inlining sqrt library function in X86
...le program
>>
>> #include <math.h>
>>
>> double f(double d){
>> return sqrt(d);
>> }
>>
>> and compiling it with “clang –O3 …”, I was trying to determine what it would take to get the X86 code generator to replace the call to sqrt with a sqrtsd instruction inline.
>>
>> It turns out that it could do exactly that, were it not for the fact that in the function visitUnaryFloatCall() at line 5514 in SelectionDAGBuilder.cpp, the result of
>>
>> !I.onlyReadsMemory()
>>
>> Is true, so the code is unable...