[PATCH][PPC] Remove unnecessary local variable mptwo

Siddhesh Poyarekar siddhesh@redhat.com
Thu Jan 10 18:03:00 GMT 2013


On Thu, Jan 10, 2013 at 09:14:17AM -0800, Richard Henderson wrote:
> >How does this impact the generated code?
> >
> >How does that impact mpatan's performance?
> 
> It's an initialized non-static local variable that has to be
> constructed on every invocation of __inv.  Replacing that with a
> reference to a hidden global variable has got to be an improvement.
> 

Right, that was the rationale.  I haven't done an actual comparison of
the generated code since it's quite straightforward, but I can do that
tomorrow if necessary.

Siddhesh



More information about the Libc-alpha mailing list