This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Faster x^(2^m) for mpexp using __sqr
On Wed, Feb 13, 2013 at 01:07:00PM -0600, Ryan S. Arnold wrote:
> In principle this looks fine but I'd like to see some comments
> regarding what is happening in the while loops.
Oh it is the same as __mul, but I realize now that the new __mul code
is not in Power. I'll add comments to the power bits before I commit.
> I'm not fond of the redundant code but that's how mpa.c is done at the
> moment for powerpc. Perhaps we can merge in the future.
It won't be redundant once the stock code uses integer math (__sqr
included). I just need to figure out a way to make it such that Power
code can continue to have the benefit of using its fpus.
Siddhesh