Rewrote the ub-32 logcount vop. The new version uses an O(log2 32) algo.
resulting in 30 cycles (no branches). The old version used an O(n) algo. where n was the integer-length of the argument, resulting in somewhere between 4 and 130 cycles.
Please register or sign in to comment