3 ms·
It's actually particularly shitty on x86, because, unlike SSE2, it has been added after AMD64 came around, and thus you can't necessarily assume its existence o
by eqvinox 6y ago
It's actually particularly shitty on x86, because, unlike SSE2, it has been added after AMD64 came around, and thus you can't necessarily assume its existence on a random 64-bit CPU.
Meanwhile any ARM64 CPU will have CNT.