On Mon, Sep 10, 2012 at 09:30:15AM -0700, Richard Henderson wrote: > On 09/10/2012 09:11 AM, Iyer, Balaji V wrote: > > Can you please help me get a start on how to get can be done? From > > what I understand (please correct me if I am wrong), this requires > > rearranging and duplicating a lot of passes and can potentially open > > up to a lot of bugs. > > Certainly not duplicating passes. And probably not even rearranging them.
It would be great if unrolling was also done loop by loop in a similar way. I often wanted that (only enable it for some loop, not the whole file) And a lot of other compilers have pragmas for this, just not gcc. As I understand vectorization needs some unrolling anyways? -Andi