rengolin added a comment.

In http://reviews.llvm.org/D12633#250612, @labrinea wrote:

> __ARM_FP_FAST is defined to 1 if floating-point optimizations may occur such 
> that the computed results are different from those prescribed by the order of 
> operations according to the C standard. Examples of such optimizations would 
> be reassociation of expressions to reduce depth, and replacement of a 
> division by constant with multiplication by its reciprocal.


This seems to be specific to the order of operations, which is related to 
"-funsafe-math-optimizations", but not necessarily the other three. If Clang 
has, and sets the same flags as GCC docs imply, we should only set the macro 
for that one flag.


http://reviews.llvm.org/D12633



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to