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)
Dec 5 2024, 9:40 PM
Unknown Object (File)
Nov 22 2024, 1:53 PM
Unknown Object (File)
Nov 15 2024, 12:56 PM
Unknown Object (File)
Nov 15 2024, 12:05 PM
Unknown Object (File)
Nov 15 2024, 10:10 AM
Unknown Object (File)
Oct 18 2024, 7:32 PM
Unknown Object (File)
Sep 15 2024, 1:58 PM
Unknown Object (File)
Sep 10 2024, 1:23 PM
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