]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement the ffs and fls functions, and their longer counterparts, in
authordougm <dougm@FreeBSD.org>
Fri, 17 May 2019 15:52:17 +0000 (15:52 +0000)
committerdougm <dougm@FreeBSD.org>
Fri, 17 May 2019 15:52:17 +0000 (15:52 +0000)
commit3cfe83e1e000b8eeb0bb94d62be1eb5ac7985ece
tree872500cd789f24658749d112c2b7b438b04594ae
parent130bdebacf964ddc568810c33a615d1b8ab6773b
Implement the ffs and fls functions, and their longer counterparts, in
cpufunc, in terms of __builtin_ffs and the like, for arm64
architectures, and use those, rather than the simple libkern
implementations, in building arm64 kernels.

Tested by: greg_unrelenting.technology (earlier version)
Reviewed by: alc
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D20250
sys/arm64/include/cpufunc.h
sys/conf/files.arm64