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]

Re: [patch] Strength reduction for autoincrement generation



I sent the following a while ago:

 > > Without this patch autoincrement addressing are only generated with
 > > extremely good luck.  A discussion (well a monologue) of the problem
 > > can be found on gcc.gnu.org/ml/gcc/2001-01/msg00548.html.
 > >
 > > OK to commit?
 > 
 > > 2001-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
 > >
 > > 	* loop.c (loop_giv_reduce_benefit): Tweak autoincrement generation
 > > 	heuristic.

and after a short discussion the thread died.  This patch provides
a large improvement for autoincrement generation with small loops:
to be blunt, without it the generated code for the c4x is appalling.

Can I commit it? 

Michael.


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