freebsd-dev/sys/cddl/contrib/opensolaris
Andriy Gapon ab50c99d40 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
2015-06-19 06:41:53 +00:00
..
common nvpair_type_is_array: DATA_TYPE_INT8_ARRAY was not recognized 2015-04-28 06:34:55 +00:00
uts illums compat: use flsl/flsll for highbit/highbit64 2015-06-19 06:41:53 +00:00
OPENSOLARIS.LICENSE