summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fnegs.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
commit742db6a6d478361010fbb0b2ad6667e6593fb324 (patch)
tree80bafa5e484c196d424ee559c306ac04c19f0564 /llvm/test/CodeGen/ARM/fnegs.ll
parentec143777ba045bf67d57834ecd29b1d108b07a68 (diff)
downloadbcm5719-llvm-742db6a6d478361010fbb0b2ad6667e6593fb324.tar.gz
bcm5719-llvm-742db6a6d478361010fbb0b2ad6667e6593fb324.zip
Make NEON single-precision FP support the default for cortex-a8 (again).
llvm-svn: 78430
Diffstat (limited to 'llvm/test/CodeGen/ARM/fnegs.ll')
-rw-r--r--llvm/test/CodeGen/ARM/fnegs.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/fnegs.ll b/llvm/test/CodeGen/ARM/fnegs.ll
index ff171e19299..0be12ab5e12 100644
--- a/llvm/test/CodeGen/ARM/fnegs.ll
+++ b/llvm/test/CodeGen/ARM/fnegs.ll
@@ -1,6 +1,8 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,+neonfp | grep -E {vneg.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 2
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,-neonfp | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
+; RUN: llvm-as < %s | llc -march=arm -mcpu=cortex-a8 | grep -E {vneg.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 2
+; RUN: llvm-as < %s | llc -march=arm -mcpu=cortex-a9 | grep -E {fnegs\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
define float @test1(float* %a) {
entry:
OpenPOWER on IntegriCloud