]> granicus.if.org Git - clang/commit
[driver] Create a new -mfpmath= option, which is used to control whether clang
authorChad Rosier <mcrosier@apple.com>
Wed, 4 Apr 2012 20:39:32 +0000 (20:39 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 4 Apr 2012 20:39:32 +0000 (20:39 +0000)
commit7a938fa66be42710b034a79106de337a275fd265
tree503e48f32b4b1acfc430766e4ccfca520752fb1e
parent878f8502ebea491b818b48e342f9ad9de2feaff6
[driver] Create a new -mfpmath= option, which is used to control whether clang
uses Neon instructions for single-precision FP.

-mfpmath=neon is analogous to passing llc -mattr=+neonfp.
-mfpmath=[vfp|vfp2|vfp3|vfp4] is analogous to passing llc -mattr=-neonfp.

rdar://11108618

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154046 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Basic/Targets.cpp
lib/Driver/Tools.cpp
test/Driver/arm-mfpmath.c [new file with mode: 0644]