This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Re: -fpic on powerpc is still not quite right.
- To: Geoff Keating <geoffk@ozemail.com.au>
- Subject: Re: -fpic on powerpc is still not quite right.
- From: Jeffrey A Law <law@cygnus.com>
- Date: Thu, 05 Aug 1999 00:54:08 -0600
- cc: egcs-patches@egcs.cygnus.com
- Reply-To: law@cygnus.com
In message <199908021605.CAA01134@gluttony.geoffk.wattle.id.au>you write:
> first_reg_to_save still means "the first register to save". If r30
> is never used, we don't want to save it. It's just that we have to
> allocate stack space for it whether it's used or not.
>
> That optimisation reduces the cost of the patch by about 2/3, from 6
> extra instructions to 2 instructions in the worst case.
Thanks for the explanation. My goof. You're right.
jeff