Scheduling complete loop unrolling early and unconditional?
Richard Guenther
rguenth@tat.physik.uni-tuebingen.de
Thu Dec 16 15:58:00 GMT 2004
On Thu, 16 Dec 2004, Richard Guenther wrote:
> Hi!
>
> I seem to get significant better code by exchanging code like
>
> for (int i=0; i<4; ++i)
> a[i] = b[i] + c[i];
>
> with a template meta-program. This seems to be because SRA
> cannot scalarize the arrays if they are accessed in a loop.
Possibly related to PR18754.
More information about the Gcc
mailing list