3 ms·
Nitpick: it's the related "count trailing zeros" operation that is useful (in combination with movemask) there, not popcount itself.
by chrchang523 5y ago
Nitpick: it's the related "count trailing zeros" operation that is useful (in combination with movemask) there, not popcount itself.