Searched hist:284591 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.hdiff 284591 Fri Jun 19 04:46:21 MDT 2015 avg illums compat: use flsl/flsll for highbit/highbit64

Do that only when when fast inline versions are available.
At the moment that can be the case only in the kernel and not for all
platforms.

The original code uses the binary search and that's kept as a fallback.
This is a micro optimization.

Differential Revision: https://reviews.freebsd.org/D2839
Reviewed by: delphij, mahrens, mav
MFC after: 17 days

Completed in 96 milliseconds