diff options
| author | Jim Grosbach <grosbach@apple.com> | 2009-10-31 22:57:36 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2009-10-31 22:57:36 +0000 |
| commit | 8cd0a8cb821263be4dc40b0b376ff02bfbd89f88 (patch) | |
| tree | 0548953203d7aa3bf81b1b5cb8a472d99116cc94 /test/CodeGen | |
| parent | 1820ec5e7ae0f6581d1d7b10c3faa8561a57c3c1 (diff) | |
| download | llvm-8cd0a8cb821263be4dc40b0b376ff02bfbd89f88.tar.gz llvm-8cd0a8cb821263be4dc40b0b376ff02bfbd89f88.tar.bz2 llvm-8cd0a8cb821263be4dc40b0b376ff02bfbd89f88.tar.xz | |
vml[as].f32 cause stalls in following advanced SIMD instructions. Avoid using
them for scalar floating point operations for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/ARM/fmacs.ll | 4 | ||||
| -rw-r--r-- | test/CodeGen/ARM/fnmacs.ll | 4 | ||||
| -rw-r--r-- | test/CodeGen/Thumb2/cross-rc-coalescing-2.ll | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/fmacs.ll b/test/CodeGen/ARM/fmacs.ll index 1a1cd0747b..5c31ea641d 100644 --- a/test/CodeGen/ARM/fmacs.ll +++ b/test/CodeGen/ARM/fmacs.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -march=arm -mattr=+vfp2 | grep -E {fmacs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1 -; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=1 | grep -E {vmla.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1 +; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=1 | grep -E {vmul.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1 ; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=0 | grep -E {fmacs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1 -; RUN: llc < %s -march=arm -mcpu=cortex-a8 | grep -E {vmla.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1 +; RUN: llc < %s -march=arm -mcpu=cortex-a8 | grep -E {vmul.f32\\W*d\[0-9\]+,\\W*d\[0-9\]+,\\W*d\[0-9\]+} | count 1 ; RUN: llc < %s -march=arm -mcpu=cortex-a9 | grep -E {fmacs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 1 define float @test(float %acc, float %a, float %b) { diff --git a/test/CodeGen/ARM/fnmacs.ll b/test/CodeGen/ARM/fnmacs.ll index 969eb72746..8fc13e78bc 100644 --- a/test/CodeGen/ARM/fnmacs.ll +++ b/test/CodeGen/ARM/fnmacs.ll @@ -7,8 +7,10 @@ entry: ; VFP2: fnmacs ; NEON: fnmacs -; NEONFP: vmls +; NEONFP-NOT: vmls ; NEONFP-NOT: fcpys +; NEONFP: vmul.f32 +; NEONFP: vsub.f32 ; NEONFP: fmrs %0 = fmul float %a, %b diff --git a/test/CodeGen/Thumb2/cross-rc-coalescing-2.ll b/test/CodeGen/Thumb2/cross-rc-coalescing-2.ll index ea88a2680f..4320328e9c 100644 --- a/test/CodeGen/Thumb2/cross-rc-coalescing-2.ll +++ b/test/CodeGen/Thumb2/cross-rc-coalescing-2.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8 | grep fcpys | count 5 +; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mcpu=cortex-a8 | grep fcpys | count 4 define arm_apcscc void @fht(float* nocapture %fz, i16 signext %n) nounwind { entry: |
