[PATCH]: Linear loop transforms

Daniel Berlin dberlin@dberlin.org
Wed Aug 25 19:12:00 GMT 2004

On Aug 25, 2004, at 3:01 PM, Devang Patel wrote:

> On Aug 25, 2004, at 10:48 AM, Daniel Berlin wrote:
>> This does the actual linear loop transform pass.
>> It is not enabled by default.
>> When turned on for gcc directory bootstrap, it finds 3 loops to 
>> interchange (This is not unexpected, since GCC doesn't do much of the 
>> type of computation it's trying to optimize, and doesn't do it in a 
>> nice clean way).  It's expect more to help with fortran.
> Any data for SPEC ?

With some patches sebastian is working on (multivariate data dependence 
testing), it improves our swim number by a ridiculous amount (600 
points on the machine i tested it on).  This was tested by hand forcing 
it to ignore the useless dependence and do the interchange.

I'm also working on getting it to interchange a few loops in art.
Of course, i'm also concerned about real world applications that people 
want it to interchange/do data locality transforms on.

More information about the Gcc-patches mailing list