Hacker News new | ask | show | jobs
by snvzz 1247 days ago
Update: B extension is apparently not actually enabled. Alas.
1 comments

As usual. Sigh. Just Zpopcnt would go a long way.
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.