[Bug testsuite/47057] FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c

2010-12-25 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47057

Ira Rosen irar at il dot ibm.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.12.25 11:49:58
 CC||irar at il dot ibm.com
 AssignedTo|unassigned at gcc dot   |irar at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #1 from Ira Rosen irar at il dot ibm.com 2010-12-25 11:49:58 UTC 
---
The first loop now gets vectorized, it didn't because of:

/* 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 k4), and so there's no need to create a guard code
   to skip the inner-loop in case it doesn't execute.  */


So, the correct fix is to expect 2 outer loop vectorized on targets that
support realignment.

I'll fix the test.

Ira


[Bug testsuite/47057] FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c

2010-12-25 Thread irar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47057

--- Comment #2 from irar at gcc dot gnu.org 2010-12-25 12:54:02 UTC ---
Author: irar
Date: Sat Dec 25 12:53:58 2010
New Revision: 168242

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168242
Log:

PR testsuite/47057
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Change
comment. Expect two outer loops to get vectorized.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c


[Bug testsuite/47057] FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c

2010-12-25 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47057

Ira Rosen irar at il dot ibm.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #3 from Ira Rosen irar at il dot ibm.com 2010-12-25 12:55:18 UTC 
---
Fixed.