This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -fpic on powerpc is still not quite right.
- To: Geoff Keating <geoffk at ozemail dot com dot au>
- Subject: Re: -fpic on powerpc is still not quite right.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 05 Aug 1999 00:54:08 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot 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