This is the mail archive of the gcc-patches@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]

Re: [patch] Ping: loop distribution for single nested loops


> +@smallexample
> +DO I = 1, N
> +  A(I) = B(I) + C
> +  D(I) = E(I) * F
> +ENDDO
> +@end smallexample
> +is transformed to
> +@smallexample
> +DO I = 1, N
> +   A(I) = B(I) + C
> +ENDDO
> +DO I = 2, N

1, N surely?

> +   D(I) = E(I) * F
> +ENDDO
> +@end smallexample

-Andi


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