summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2016-04-28 11:29:08 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2016-04-28 11:29:08 +0000
commit632fdc5919d9738a1174a347deef377dbe18f51b (patch)
tree9df9f69f173045b1fdf6eee4f2a1bde6df767b96 /clang/lib/CodeGen/CodeGenModule.cpp
parent3a45fab72b0ebc51fe1ce38392be29aaf29603e4 (diff)
downloadbcm5719-llvm-632fdc5919d9738a1174a347deef377dbe18f51b.tar.gz
bcm5719-llvm-632fdc5919d9738a1174a347deef377dbe18f51b.zip
PR27216: Only define __ARM_FEATURE_FMA when the target has VFPv4
Summary: According to the ACLE spec, "__ARM_FEATURE_FMA is defined to 1 if the hardware floating-point architecture supports fused floating-point multiply-accumulate". This changes clang's behaviour from emitting this macro for v7-A and v7-R cores to only emitting it when the target has VFPv4 (and therefore support for the floating point multiply-accumulate instruction). Fixes PR27216 Reviewers: t.p.northover, rengolin Subscribers: aemerson, rengolin, cfe-commits Differential Revision: http://reviews.llvm.org/D18963 llvm-svn: 267869
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud