https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89021
--- Comment #48 from Uroš Bizjak <ubizjak at gmail dot com> ---
(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.