This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Ping: loop distribution for single nested loops
- From: Andi Kleen <andi at firstfloor dot org>
- To: Sebastian Pop <sebpop at gmail dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 5 Mar 2008 13:18:55 +0100
- Subject: Re: [patch] Ping: loop distribution for single nested loops
- References: <cb9d34b20802271112t790e6f5cx7543712dfff7b4e5@mail.gmail.com> <87mypigepl.fsf@basil.nowhere.org> <cb9d34b20803050401i5b728ac9oa92c135afbecd045@mail.gmail.com>
> +@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