diff options
author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-25 12:53:58 +0000 |
---|---|---|
committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-25 12:53:58 +0000 |
commit | 5d82b5e76028e35f5861db6691ca7a063870ca7e (patch) | |
tree | 48a0fcfc769b643b38282277e60ee6d99b4d1ef0 /gcc/testsuite/gcc.dg/vect/costmodel/ppc | |
parent | 4e09d617c4f15400bd67fcbb5f8671d2e405cd68 (diff) | |
download | gcc-5d82b5e76028e35f5861db6691ca7a063870ca7e.tar.gz |
PR testsuite/47057
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Change
comment. Expect two outer loops to get vectorized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/costmodel/ppc')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c index 49a909805a3..efab0469bd3 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c @@ -10,11 +10,7 @@ float coeff[M]; float out[N]; float fir_out[N]; -/* Should be vectorized. Fixed misaligment in the inner-loop. */ -/* Currently not vectorized because we get too many BBs in the inner-loop, - because the compiler doesn't realize that the inner-loop executes at - least once (cause k<4), and so there's no need to create a guard code - to skip the inner-loop in case it doesn't execute. */ +/* Vectorized. Fixed misaligment in the inner-loop. */ __attribute__ ((noinline)) void foo (){ int i,j,k; float diff; @@ -71,6 +67,5 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail vect_no_align } } } */ +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ |