aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/fadds.ll
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-08-07 23:32:33 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-08-07 23:32:33 +0000
commit767a952a6fe812466b21ea3ab5748a15aec6ebfd (patch)
tree4958bc293e14f81651fab18271cafa89be4ccbf4 /test/CodeGen/ARM/fadds.ll
parentdb0a9706e76fde6f3076f2baa1cb5bd0e47c8ee3 (diff)
Make NEON single-precision FP support the default for cortex-a8 (again).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78430 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/fadds.ll')
-rw-r--r--test/CodeGen/ARM/fadds.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/fadds.ll b/test/CodeGen/ARM/fadds.ll
index 35c74f78d2..5d59f2b4eb 100644
--- a/test/CodeGen/ARM/fadds.ll
+++ b/test/CodeGen/ARM/fadds.ll
@@ -1,6 +1,8 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep -E {fadds\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,+neonfp | grep -E {vadd.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,-neonfp | grep -E {fadds\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
+; RUN: llvm-as < %s | llc -march=arm -mcpu=cortex-a8 | grep -E {vadd.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1
+; RUN: llvm-as < %s | llc -march=arm -mcpu=cortex-a9 | grep -E {fadds\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
define float @test(float %a, float %b) {
entry: