Bit Twiddling Hacks
graphics.stanford.edu>Conditionally set or clear bits without branching
That reminds me a little of multiplexing.
Also, related:
>Conditionally set or clear bits without branching
That reminds me a little of multiplexing.
Also, related: