summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/Inputs
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-04 19:42:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-04 19:42:20 +0000
commit058666a8d02f5cd348150862a3401c9c4bd0b4d0 (patch)
tree528e657ffa85743e93147dcf2632a66d1da5949f /clang/test/Driver/Inputs
parentfe5e770c6dc7f8b6615b1d40efb18755cd9c5609 (diff)
downloadbcm5719-llvm-058666a8d02f5cd348150862a3401c9c4bd0b4d0.tar.gz
bcm5719-llvm-058666a8d02f5cd348150862a3401c9c4bd0b4d0.zip
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. llvm-svn: 165240
Diffstat (limited to 'clang/test/Driver/Inputs')
-rw-r--r--clang/test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtfastmath.o0
1 files changed, 0 insertions, 0 deletions
diff --git a/clang/test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtfastmath.o b/clang/test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtfastmath.o
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/clang/test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtfastmath.o
OpenPOWER on IntegriCloud