What does it mean "ppc backend doesn't support sibcalls" ?
Dale Johannesen
dalej@apple.com
Mon Jun 17 10:40:00 GMT 2002
On Sunday, June 16, 2002, at 02:31 AM, Colin Douglas Howell wrote:
>> Hi, All.
>> Excuse me for probably very stupid question, but anyway...
>> I sent report about sibling and tail recursive calls to GNATS (7005)
>> and got an answer:
>>> x86 silliness fixed for 3.2.
>>> ppc backend doesn't support sibcalls
>
> I believe that your second meaning (GCC's code generator module for PPC
> is not
> ready for this optimization) is correct. I'm not an expert on the PowerPC
> backend, but it doesn't seem to have any of the required support for
> performing
> sibcall optimizations. I don't know whether there are any plans to fix
> this,
> or even if it can be done, although I would assume that someone would
> eventually
> like to fix this if possible.
Yes. I've got it working well for Darwin and should have a submittable
patch RSN
(it's already been delayed quite a bit).
More information about the Gcc
mailing list