Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clementgallet/libTAS
/ get_first_bit_set
Function
get_first_bit_set
src/program/Signature.cpp:79–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
static inline uint32_t get_first_bit_set(uint32_t x)
80
{
81
return __builtin_ctz(x);
82
}
83
84
static inline uint32_t clear_leftmost_set(uint32_t value)
85
{
Callers
1
FindAVX2
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected