This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/51693] New XPASSes in vectorizer testsuite on powerpc64-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51693

--- Comment #5 from Ira Rosen <irar at il dot ibm.com> 2011-12-28 13:11:53 UTC ---
(In reply to comment #4)

> In vect-peel-3.c we actually assume that vector length is 16 byte. Here is the
> loop body:
>       suma += ia[i];
>       sumb += ib[i+5];
>       sumc += ic[i+1];
> When vector-size is 16, then peeling can make two of three accesses aligned,
> but when vector size is 32 that's impossible. That's why using
> vector_sizes_32B_16B might be correct here.

Ah, now I understand. I was confused by vect_aligned_arrays, and it's
irrelevant here, right?

Yes, vector_sizes_32B_16B seems to be ok in that case.

Thanks,
Ira


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]