MCPcopy Create free account
hub / github.com/BitFunnel/NativeJIT / GetHighestBitSet

Function GetHighestBitSet

inc/NativeJIT/BitOperations.h:128–148  ·  view source on GitHub ↗

Stores the index of the highest 1 bit and returns true. Returns false and leaves highestBitSetIndex in an underterminate state if the value has no bits set. Uses BSR instruction. See http://felixcloutier.com/x86/BSR.html

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

VerifyHighestBitSetFunction · 0.85
TESTFunction · 0.85
RestoreVolatilesMethod · 0.85
AllocateMethod · 0.85

Calls

no outgoing calls

Tested by 2

VerifyHighestBitSetFunction · 0.68
TESTFunction · 0.68