This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Faster x^(2^m) for mpexp using __sqr


On Wed, Feb 13, 2013 at 09:05:58AM +0100, Andreas Jaeger wrote:
> Thanks, this is fine.
> 
> I noticed that there's some other code in dbl-64 that does squaring and 
> could use __sqr instead of __mul, e.g.:
> sysdeps/ieee754/dbl-64/sincos32.c:  __mul(x,x,&x2,p);
> sysdeps/ieee754/dbl-64/mpatan.c:    __mul(x,x,&mpsm,p);
> sysdeps/ieee754/dbl-64/mpsqrt.c:    __mul(&mpu,&mpu,&mpt1,p);
> 
> Could you check whether using __sqr in those - and perhaps other cases 
> helps as well?
> 

Sure, that was going to be my next step; will post patches for those
soon.  Thanks very much for all the reviews :)

Ryan, are the ppc bits OK?

Siddhesh


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