This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37194] [4.3 Regression] Autovectorization of small constant iteration loop degrades performance
- From: "irar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2009 07:54:51 -0000
- Subject: [Bug tree-optimization/37194] [4.3 Regression] Autovectorization of small constant iteration loop degrades performance
- References: <bug-37194-14936@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from irar at gcc dot gnu dot org 2009-01-11 07:54 -------
Subject: Bug 37194
Author: irar
Date: Sun Jan 11 07:54:40 2009
New Revision: 143263
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143263
Log:
Backport from mainline:
2009-01-08 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/37194
* tree-vect-transform.c (vect_estimate_min_profitable_iters):
Don't add the cost of cost model guard in prologue to scalar
outside cost in case of known number of iterations.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/tree-vect-transform.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37194