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: [4.5] Find more autoinc addressing for induction variables


I wrote:
The current auto-inc-dec optimization only looks at single basic blocks,
and fails to create autoincrement addressing for induction variables in
nontrivial loops.

This patch tries to address this.  When we have a suitable memory
reference, we look for two definitions using DU/UD chains: an
initialization, and an increment, which must satisfy a number of
conditions (see comments in the patch).

http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00729.html


Ping.


Bernd -- This footer brought to you by insane German lawmakers. Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif


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