Displaying 2 results from an estimated 2 matches for "ofchandl".
Did you mean:
chandl
2013 May 21
0
[LLVMdev] Inlining sqrt library function in X86
...ng if we want to inline calls to sqrt. A first step would be to figure out where the headers are doing this and whether there's a way to disable it.
- Ben
>
> Thanks,
>
> Preston
>
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf OfChandler Carruth
> Sent: Saturday, May 18, 2013 4:48 PM
> To: Nadav Rotem
> Cc: LLVMdev (LLVMdev at cs.uiuc.edu)
> Subject: Re: [LLVMdev] Inlining sqrt library function in X86
>
> On Sat, May 18, 2013 at 5:18 PM, Nadav Rotem <nrotem at apple.com> wrote:
> Does fast-math imply...
2013 May 21
2
[LLVMdev] Inlining sqrt library function in X86
Thanks for the fix!
However, there still seems to be a problem in that if you pass –ffast-math to clang, then clang changes “sqrt” to be “__sqrt_finite”. LLVM cannot then change the function call into an x86 sqrt instruction, even with –fno-math-errno set.
Can you suggest where I might look in the clang code to find the place where “sqrt” is converted to “__sqrt_finite” and/or the best way to