This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new unroller vs ppc
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Richard Henderson <rth at redhat dot com>,David Edelsohn <dje at watson dot ibm dot com>,Dale Johannesen <dalej at apple dot com>, gcc at gcc dot gnu dot org, jh at suse dot cz
- Date: Mon, 7 Apr 2003 22:02:45 +0200
- Subject: Re: new unroller vs ppc
- References: <20030321075050.GA25664@atrey.karlin.mff.cuni.cz> <200303290116.UAA24820@makai.watson.ibm.com> <20030406223938.GA5677@atrey.karlin.mff.cuni.cz> <20030407195355.GC9659@redhat.com>
Hello,
> > I think the correct solution is to split pre/post modify transformation
> > out of flow.c (relatively easy, I have the patch somewhere), to run it
> > before cse and to cancel this code.
>
> I don't believe that will work; cse is not prepared for
> autoinc operands, iirc.
Then what would you suggest to do? Cse apparently produces suboptimal
code in many cases due to this (I guess most of the increments it
ignores this way are not converted to autoincs anyway). I don't see
other way than to teach cse to cope with autoincs (but I am not brave
enough to attempt to do it).
Zdenek