PATCH: Use __builtin_clzll in 64-bit __logb

Joseph S. Myers joseph@codesourcery.com
Mon May 14 22:28:00 GMT 2012


On Mon, 14 May 2012, Andreas Jaeger wrote:

> On 05/11/2012 02:22 PM, H.J. Lu wrote:
> > Hi,
> > 
> > X32 uses 64-bit math function.  But its long is 32bit.  64-bit __logb
> > should use __builtin_clzll instead of __builtin_clzl.  Testd on Linux/x32
> > and Linux/x86-64.  OK to install?
> 
> HJ, you filed bz # 14103 for this. Please add the number to ChangeLog, to NEWS
> and mark it as resolved (the same applies for 14104),

HJ, though you closed the bugs note the other parts of this request: the 
ChangeLog entry for the bug 14103 fix should include that bug number (it's 
only present for the 14104 fix) and both should be added to the list in 
the NEWS file of bugs fixed in 2.16 (whenever you fix a bug you should add 
it to that list).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list