https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101097

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #8)
> (In reply to Hongtao.liu from comment #6)
> > 
> > I just to want to classify the test is used to test another optimization
> > which rely on either loop vectorization or slp. it means it's ok to add
> > unroll pragma here.
> 
> The code with new patterns is clearly less optimal, so I've had some second
> thoughts...

But clearly the code is better than when not vectorized at all which is what
happens when the iteration count isn't exactly 4, 8, 12 or 16.

Reply via email to