You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maple_enum: Leverage builtins to simplify enum matching.
The use of the byteswap is straightforward. The algorithm for
determining which `function_data` element contains the data
relevant to the function at hand used to go bit by bit counting
how many bits are above the function bit, as the elements of
`function_data` map from MSB down to up to 3 functions. Instead
of looping over the bits, build a mask to mask out everything but
bits that would appear above the desired function bit, then count
how many there are left with popcount.
0 commit comments