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


On Wed, May 13, 2009 at 5:53 PM, Bernd Schmidt <bernds_cb1@t-online.de> wrote:
> 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.

Perhaps I missed it, but did you address Paolo's comment
(http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00736.html), for example
by looking at what this does to compilation times?

Ciao!
Steven


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