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

Function flsl

freebsd/arm64/include/cpufunc.h:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78#define HAVE_INLINE_FLSL
79
80static __inline __pure2 int
81flsl(long mask)
82{
83
84 return (mask == 0 ? 0 :
85 8 * sizeof(mask) - __builtin_clzl((u_long)mask));
86}
87
88#define HAVE_INLINE_FLSLL
89

Callers 2

its_init_cpu_lpiFunction · 0.50
ilog2Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected