This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Loop-aware SLP
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Dorit Nuzman <DORIT at il dot ibm dot com>, gcc-patches at gnu dot org, Paolo Bonzini <paolo dot bonzini at gmail dot com>
- Date: Tue, 14 Aug 2007 18:23:16 +0300
- Subject: Re: [patch] Loop-aware SLP
Paolo Bonzini <paolo.bonzini@gmail.com> wrote on 14/08/2007 16:21:23:
> 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;
> }
It is supported.
>
> or even with the last assignment's RHS being 255?
This one is not, since in this case RHSs are not isomorphic.
Thanks,
Ira
>
> Thanks,
>
> Paolo