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: [lno] [patch] vectorization with unknown loop bound


Thank you.

Actually I thought to generalize the following transformation:

On May 17, 2004, at 22:21 PM, Zdenek Dvorak wrote:

> 3) If I understand correctly, you do something like transforming
>
> for (i = 0; i < n; i++)
>   xxx ();
>
> into
>
> for (i = 0; i < n / C; i++)
>   xxx ();
> for (; i < n; i++)
>   xxx ();

What is generalized now is a pure loop duplication
without changing number of iterations the first loop
copy executes.

Olga





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