4 ms·
> It should have been in the base instruction set. No, it should not. Popcount is not necessary for all the microcontrollers and it does not fully share its ci
by avianes 5y ago
> It should have been in the base instruction set.
No, it should not. Popcount is not necessary for all the microcontrollers and it does not fully share its circuitry with the other instructions of the basic ISA.
Popcount must be in an extension (like bitmanip) and it will be ratified and integrated into chips soon. The 1.0 version of the B extension is currently under review and is much simpler than the previous versions.