Page MenuHomeFreeBSD

libkern: remove old ffs/fls routines
ClosedPublic

Authored by mhorne on Jun 21 2023, 4:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 18, 7:32 PM
Unknown Object (File)
Sep 15 2024, 1:58 PM
Unknown Object (File)
Sep 10 2024, 1:23 PM
Unknown Object (File)
Aug 31 2024, 1:43 AM
Unknown Object (File)
Aug 18 2024, 1:32 PM
Unknown Object (File)
Aug 8 2024, 10:15 AM
Unknown Object (File)
Aug 8 2024, 10:15 AM
Unknown Object (File)
Aug 8 2024, 10:15 AM
Subscribers
None

Details

Summary

These are poorly optimized (linear search), and we now prefer the
compiler builtin routines on all platforms. These files can be removed.

Note that we still have copies of these slow routines in libc, e.g.
lib/libc/string/ffsl.c.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable