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: [patch] Loop distribution for single nested loops


Hello,

> Once that's done, I would enable it at -O3 by default.

actually, unless it enables some other optimizations,
loop distribution makes the code worse, by introducing
an overhead of having several loops.  So, I do not think
it is a good idea to enable it by default at any optimization
level, until it is driven by requirements from other optimization
passes (which I think autovectorizer folks and Sebastian plan
to work on).

Zdenek


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