This is the mail archive of the
mailing list for the GCC project.
Re: Code optimization only in loops
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 08 May 2009 11:18:34 +0200
- Subject: Re: Code optimization only in loops
- References: <firstname.lastname@example.org>
> It seems that when set in a loop, the program is able to perform some
> type of optimization to actually get the use of the offsets where as
> in the case of no loop, we have twice the calculations of instructions
> for each address calculations.
I suggest you look at the dumps for i386 to see which pass does the
changes, and then see what happens in your port.