Pádraig Brady wrote:
Does the following address the issue for you? It should drop back to the more generic slow path on 32 bit.
But I do have _BitReverse. That could be an intrinsic.
BTW do we have the same issue with __popcnt64 in count-one-bits.h?
Seems so: __MACHINEX64(unsigned __int64 __popcnt64(unsigned __int64)) X86 compilers only. -- --gv