[3.4 - BIB] New loop optimizer, part 1

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Wed Oct 16 15:26:00 GMT 2002


Hello,

> All source files should be documented in passes.texi.  That people have
> been lax about updating that file lately isn't a reason for failing to
> include an update in a patch adding a source file, though it may be a
> reason for going through previous patches you've made making sure that any
> source files you've added have been documented properly.

Here's the patch:

*** ../../../../gcc_unswitch/gcc/gcc/doc/passes.texi	Tue Oct 15 10:27:21 2002
--- passes.texi	Thu Oct 17 00:25:05 2002
*************** Its source files are @file{loop.c} and @
*** 366,375 ****
  some functions in @file{integrate.c} and the header @file{integrate.h}.
  Loop dependency analysis routines are contained in @file{dependence.c}.
  
  @opindex dL
  The option @option{-dL} causes a debugging dump of the RTL code after
! this pass.  This dump file's name is made by appending @samp{.loop} to
! the input file name.
  
  @item
  @opindex frerun-cse-after-loop
--- 366,381 ----
  some functions in @file{integrate.c} and the header @file{integrate.h}.
  Loop dependency analysis routines are contained in @file{dependence.c}.
  
+ There is a new basic-block level loop optimization pass that does
+ loop unswitching, unrolling and peeling. It is contained in
+ @file{loop-unswitch.c} and @file{loop-unroll.c} and uses functions from
+ @file{cfgloopanal.c} and @file{cfgloopmanip.c}. The communication among
+ those files is done through header @file{cfgloop.h}.
+ 
  @opindex dL
  The option @option{-dL} causes a debugging dump of the RTL code after
! these passes.  This dump file's name is made by appending @samp{.loop}
! or @samp{.loop2} to the input file name.
  
  @item
  @opindex frerun-cse-after-loop



More information about the Gcc-patches mailing list