This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Loop-aware SLP
We plan to extend this initial "SLP-like vectorization in loops" in the
following directions:
- support reduction
- support data permutations
- support interleaved accesses with gaps
- support loops with multiple types
Maybe it is already supported, but do you plan adding struct
vectorization, as in
struct col {
char r, g, b, a;
}
struct col *a, *b;
for (...)
{
a[i].r = b[i].r;
a[i].g = b[i].g;
a[i].b = b[i].b;
a[i].a = b[i].a;
}
or even with the last assignment's RHS being 255?
Thanks,
Paolo