MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fls

Function fls

freebsd/i386/include/cpufunc.h:222–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220#define HAVE_INLINE_FLS
221
222static __inline __pure2 int
223fls(int mask)
224{
225 return (mask == 0 ? mask : (int)bsrl((u_int)mask) + 1);
226}
227
228#define HAVE_INLINE_FLSL
229

Callers 3

flslFunction · 0.70
npxinitstateFunction · 0.50
npxgetregsFunction · 0.50

Calls 1

bsrlFunction · 0.85

Tested by

no test coverage detected