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] rtlopt branch merge part 5 -- loop unswitching


In message <20030131074948.GA27925@atrey.karlin.mff.cuni.cz>, Zdenek Dvorak wri
tes:
 >Hello,
 >
 >>     + /* Unswitch LOOPS.  */
 >> 
 >> I would expect to see at least a couple of paragraphs here saying what 
 >> "loop unswitching" does.
 >
 >use google? I really find little sense in explaining this; it would be
 >other matter if it was something non-trivial, but this is something
 >that simply cannot be done in much different way.
Unswitching is a pretty standard optimization concept that is found in
texts, papers, etc.  You could put a reference to that material in
your code.

Alternately, you could make a little web page with a simple program
and show the before/after code after its loop as been unswitched.



 >> There are *very few* comments at all in these
 >> files and absolutely no overview of what they are doing.
 >
 >Sorry, but there are generally comments every 5-10 lines and I refuse
 >to write more.
That's not a particularly good attitude.


Jeff


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