hardware popcount
Suggested by Jim Ablett. One code fits all, just control hardware support with -mpopcnt GCC option. Resulting code is a bit faster on my i7, but nothing earth shattering.

No functional change.
signature = 7278567