[llvm-commits] [llvm-gcc-4.0] r42134 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Wed Sep 26 11:57:32 PDT 2007
Hi Chris,
> > How about constant folding calls to functions such as sqrt?
>
> Do you mean sqrt specifically or something more general?
>
> In general, we can extend APFloat to do lots of different math
> functions, including sqrt etc. In practice, APFloat doesn't do sqrt
> yet, so we use host float/double to do it.
sorry I wasn't very clear. I was asking if you were planning to
implement APFloat versions of all elementary functions for constant
folding purposes. Sounds like a lot of work :)
All the best,
Duncan.
More information about the llvm-commits
mailing list