ffsl: Optimize on 32-bit platforms.
authorBruno Haible <bruno@clisp.org>
Fri, 14 Oct 2011 00:11:34 +0000 (02:11 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 14 Oct 2011 00:11:34 +0000 (02:11 +0200)
commit22950665cce29d2350b45fc0a255ffec847e12da
treeb12ebc055d33902c8fb5d5353e4851c79d43cac2
parent4b3d1ed028029965f1fae63b312dd1e0397f54f8
ffsl: Optimize on 32-bit platforms.

* lib/ffsl.h (FUNC): If TYPE has the same representation as 'int', just
use ffs() without a loop.
ChangeLog
lib/ffsl.h