3 ms·
As usual. Sigh. Just Zpopcnt would go a long way.
by moloch-hai 4y ago
As usual. Sigh. Just Zpopcnt would go a long way.
- snvzz 4y agoIt might have popcnt. It might have Za and Zb. It just doesn't claim to have B (the whole package).
- moloch-hai 4y agoLooks 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.