Hacker News new | ask | show | jobs
by moloch-hai 1247 days ago
As usual. Sigh. Just Zpopcnt would go a long way.
1 comments

It might have popcnt. It might have Za and Zb.

It just doesn't claim to have B (the whole package).

Looks like Zbb is where the "CPOP" and related instructions (popcount, count leading/trailing zeroes) live.

Zba ("and-not" etc.) and Zbs (single-bit) are more obscure and less important. Zbc (carry-less multiply) is interesting.