Loop optimizer issues

Aldy Hernandez aldyh@redhat.com
Mon Jun 2 21:33:00 GMT 2003


>> I'm starting to work on an aldy^H^H^Hutovectorization pass.  We seem
> Cool :-)
>
>> to have most of the infrastructure in place except data analysis and
>> the loop unroller.  I can probably get away without the loop unroller
>> for now by unrolling the loops myself.
>>
> The unroller can be recycled from the one at rtl level.
> However I still don't have the number of iterations a loop will run,
> and this seems to be dependent on the IV detector.

Yeah, I'm not too worried about that because by the time I have a good 
infrastructure, Zdenek will be done with the loop unroller at the tree 
level and I can just use that ;-).

>
> Should I prepare a patch that registers the loop unroller in the cfg 
> hooks?

Wouldn't hurt.
:)



More information about the Gcc mailing list