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

--- Comment #50 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #49)
> (In reply to Uroš Bizjak from comment #48)
> > (In reply to H.J. Lu from comment #4)
> > > That sounds right.  We can even vectorize
> > > 
> > > void
> > > foo (char* restrict r, char* restrict a){
> > >     for (int i = 0; i < 8; i++){
> > >         r[i] += a[i];
> > >     }
> > > }
> > 
> > This loop is still not vectorized:
> > 
> > pr89021.c:3:5: missed:  not vectorized: iteration count smaller than
> > vectorization factor.
> > pr89021.c:3:5: missed:  Loop costings not worthwhile.
> > pr89021.c:3:5: missed: couldn't vectorize loop
> > pr89021.c:3:5: missed: Loop costings not worthwhile.
> > pr89021.c:2:1: note: vectorized 0 loops in function.
> 
> To enable V2SF vectorizer, we need to add V2SF patterns with SSE.

No, these are integer arguments.

Reply via email to