This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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
Correct.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]