4 ms·
>All modern CPUs have instructions for that Not in the embedded space. Here's the architectures supported by gcc. I suspect most of them do not have popcount e
by ChrisLomont 4y ago
>All modern CPUs have instructions for that
Not in the embedded space. Here's the architectures supported by gcc. I suspect most of them do not have popcount equivalent instructions. I've used quite a few of them and the only places I expect hardware support are on Intel and ARM. Rarely does another arch have it.
https://gcc.gnu.org/backends.html https://gcc.gnu.org/backends.html