[PATCH] -fpic problems on PPC, a different approach

Richard Henderson rth@cygnus.com
Mon Jun 7 14:07:00 GMT 1999

On Mon, Jun 07, 1999 at 01:48:30PM +1000, Geoff Keating wrote:
> Now, if this was what we had to do to make it work, then we'd just
> have to pay the efficiency cost and try to look happy about it.  But I
> think that even my patch (which is pretty horrible) has less of an
> efficiency cost than this, because the cases that it affects are rare.

While I would love to see reload really know about the PIC register
(where it is now, where it must be for calls, how to regenerate it
instead of spilling if cost effective, when it will be needed by 
code generated by reload itself), it isn't going to happen for 2.95.

The fixed register plan, for all it's faults, does have one thing
going for it -- it's simple and very easy to see that things are


More information about the Gcc-patches mailing list