Implement suggestions of Paul Khuong re. POPCNT