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 | |
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')
-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 db09e3963fe..c11dfea6bc5 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 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" } } */ |