Adding the CountLeadingZeroes functions broke the Clang & GCC
builds. This is because for the 16-bit and 8-bit variants, the
parameters were expanded to 32-bits. And the extra leading zeros
from those extra bits were being included.
This commit fixes the Clang & GCC builds by subtracting those extra
bits off the count.
Adding the CountLeadingZeroes functions broke the Clang & GCC builds. This is because for the 16-bit and 8-bit variants, the parameters were expanded to 32-bits. And the extra leading zeros from those extra bits were being included.
This commit fixes the Clang & GCC builds by subtracting those extra bits off the count.