summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/fnmacs.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/fnmacs.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/fnmacs.ll')
-rw-r--r--test/CodeGen/ARM/fnmacs.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/fnmacs.ll b/test/CodeGen/ARM/fnmacs.ll
index 4b0b2ed20a5..0fda67f5e15 100644
--- a/test/CodeGen/ARM/fnmacs.ll
+++ b/test/CodeGen/ARM/fnmacs.ll
@@ -1,6 +1,8 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep -E {fnmacs\\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 {vmls.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 {fnmacs\\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 {vmls.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 {fnmacs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1
define float @test(float %acc, float %a, float %b) {
entry: