diff options
author | Ira Rosen <irar@il.ibm.com> | 2010-12-25 12:53:58 +0000 |
---|---|---|
committer | Ira Rosen <irar@gcc.gnu.org> | 2010-12-25 12:53:58 +0000 |
commit | 7f837fa1a918e51fa5e90a257dd8161110bf5a9f (patch) | |
tree | 48a0fcfc769b643b38282277e60ee6d99b4d1ef0 | |
parent | bc30fc12b1cbcd1942d93b5e555a1ed7195a73b8 (diff) | |
download | gcc-7f837fa1a918e51fa5e90a257dd8161110bf5a9f.zip gcc-7f837fa1a918e51fa5e90a257dd8161110bf5a9f.tar.gz gcc-7f837fa1a918e51fa5e90a257dd8161110bf5a9f.tar.bz2 |
re PR testsuite/47057 (FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c)
PR testsuite/47057
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Change
comment. Expect two outer loops to get vectorized.
From-SVN: r168242
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index db09e39..c11dfea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-12-25 Ira Rosen <irar@il.ibm.com> + + PR testsuite/47057 + * gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Change comment. + Expect two outer loops to get vectorized. + 2010-12-25 Kai Tietz <kai.tietz@onevision.com> PR c++/15774 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 49a90980..efab046 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" } } */ |