Popcnt vectorization

Hi Simon,

Same as in the other pull request, added the missing masks

Best regards,
Diego
Sounds reasonable :) I have run my code on Linux machines only, so I did not face this problem