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] Correct calculation of subnormal exponent in fmod andilogb


From: Andreas Schwab <schwab@linux-m68k.org>
Date: Wed, 06 Jun 2012 15:56:40 +0200

> -		for (ix = -1043, i=lx; i>0; i<<=1) ix -=1;
> +		ix -= __builtin_clz (lx) + 21;

This is going to be significantly slower on sparc.


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