[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 09:28:15 PDT 2007


> To elaborate a bit more: one of the nice features of APFloat is that  
> we never do FP constant folding with host arithmetic operations  
> (everything is done with 'softfloat').  This ensures we get  
> deterministic results, as powerpc long double and x86 long double are  
> very different.  We also do this for float and double since they have  
> similar problems (just not on any architectures we support now) so we  
> might as well handle them for uniformity and to make sure the code is  
> well tested.

How about constant folding calls to functions such as sqrt?

Ciao,

Duncan.



More information about the llvm-commits mailing list