I'll profile this.
Edit 2: no I won't profile it, because I don't have the instruction. Damn.
http://graphics.stanford.edu/~seander/bithacks.html#CountBit...
I'll profile this.
Edit 2: no I won't profile it, because I don't have the instruction. Damn.