John-Mark Gurney <j...@funkthat.com> writes: > Did you see the comment about usig __builtin_ffs{,l,ll} instead? this > seems to be a better route...
No. It's needlessly compiler-dependent. > So, how about changing libkern.h to define the various ones to the > built in, and dropping all the special versions? This is (or should) be taken care of in cpufunc.h for platforms that support ffs / fls in hardware. DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"