This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2008 12:55:56 -0000
- Subject: [Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)
- References: <bug-36034-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenther at suse dot de 2008-04-24 12:55 -------
Subject: Re: [4.3/4.4 Regression] wrong code
vectorizing unrolled inner loop (SLP)
On Thu, 24 Apr 2008, irar at il dot ibm dot com wrote:
> ------- Comment #4 from irar at il dot ibm dot com 2008-04-24 12:24 -------
> (In reply to comment #2)
>
> >
> > the final increment for ivtmp.15_36 is wrong -- it should be 48.
> >
>
> Right. We are not supposed to vectorize this at all, since SLP currently
> doesn't support loads with gaps.
>
> Here is a possible fix:
Thanks. I am testing the patch now.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36034