This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Correct calculation of subnormal exponent in fmod andilogb
- From: David Miller <davem at davemloft dot net>
- To: schwab at linux-m68k dot org
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 06 Jun 2012 08:52:31 -0700 (PDT)
- Subject: Re: [PATCH] Correct calculation of subnormal exponent in fmod andilogb
- References: <m2wr3kpmqv.fsf@igel.home>
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.