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: [wwwdocs] gcc-3.4/changes.html update


On Sat, 3 Jan 2004, Zdenek Dvorak wrote:
> adds information about the new loop unroller pass.

The changes file really starts to become impressive. ;-)

> +     <li>A new cfg-level loop optimizer pass.  It replaces the old loop unrolling

Here I would write "...pass replaces the old....".

> + 	pass and adds two other loop transformations - loop peeling and loop
> + 	unswitching (enabled by <code>-funroll-loops</code>,
> + 	<code>-fpeel-loops</code> and <code>-funswitch-loops</code> flags,
> + 	respectively).  It also uses the profile feedback to limit the code
> + 	growth.

"...unswitching -- and also uses the profile feedback to limit code 
growth." (omitting "the").

Followed by "(The three optimizations are enabled by...)". I believe
it's a bit easier to understand that way.

> + 	<p>The old loop unroller still can be enabled by
> + 	<code>-fold-unroll-loops</code> flags and in some cases it may produce
                                        ^^^^^
Omit "flags" and continue with "and may produce better code in some 
cases".

The patch is fine with these changes. Thanks!

Gerald


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