Hacker News new | ask | show | jobs
by woadwarrior01 581 days ago
> Which compilers support __builtin_popcount()?

Clang supports __builtin_popcount() too. And MSVC has __popcnt().