On 10/04/2012 09:42 PM, Benjamin Kramer wrote:
Author: d0k
Date: Thu Oct  4 14:42:20 2012
New Revision: 165240

URL: http://llvm.org/viewvc/llvm-project?rev=165240&view=rev
Log:
Driver: Link crtfastmath.o if it's available and -ffast-math is specified.

crtfastmath.o contains routines to set the floating point flags to a faster,
unsafe mode. Linking it in speeds up code dealing with denormals significantly
(PR14024).

For now this is only enabled on linux where I can test it and crtfastmath.o is
widely available. We may want to provide a similar file with compiler-rt
eventually and/or enable it on other platforms too.

Wow, this was fast! Thanks a lot!

Tobi

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to