mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-10 19:31:41 +01:00
We already have my_ffsl() to find the lowest bit set in a word, and this patch implements the search for the highest bit set in a word. On x86 it uses the bsr instruction and on other architectures it uses an efficient implementation.