This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Disable sibcalls for all targets
Andrew Pinski writes:
>
>
> sibcall optimization usually speeds up many programs and makes them
> smaller (in fact on ppc, if there is only one call at the end, it
> does not have to save the link register at all, so it can speed up
> considerably on the 750/7400/7500 series because they mflr and mtlr
> and serializing instructions because lr is not renamed).
>
> In fact I think Java is faulty if depends on what is in the
> backtrace but that is a different argument.
How is that a different argument? We have to disallow all
optimizations that don't conform to the language specification.
That's the same for C and Java and any other language.
Andrew.