This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Tree-SSA and POST_INC address mode inompatible in GCC4?
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Kenneth dot Zadeck at NaturalBridge dot com
- Cc: gcc at gcc dot gnu dot org, zadeck at naturalbridge dot com, rakdver at atrey dot karlin dot mff dot cuni dot cz, dnovillo at google dot com
- Date: Sun, 04 Nov 2007 15:49:05 -0800
- Subject: Re: Tree-SSA and POST_INC address mode inompatible in GCC4?
- References: <87fxzna11s.fsf@numenor.site>
Kenneth Zadeck wrote:
> To fix this will require a round of copy propagation, most likely in
> concert with some induction variable detection, since the most
> profitable place for this will be in loops.
For code size, it will be profitable everywhere. On ARM, aggressive use
of post-increment is an important code-size optimization and we are not
presently doing a very good job taking advantage. So, whatever solution
we settle on should not be dependent on being in a loop.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713