3 ms·
I was not aware of the popcnt[1] instruction. It's quite amazing how LLVM can recognize that code, thanks for the link! [1] - https://en.wikipedia.org/wiki/SSE
by pera 10y ago
I was not aware of the popcnt[1] instruction. It's quite amazing how LLVM can recognize that code, thanks for the link!
[1] - https://en.wikipedia.org/wiki/SSE4#POPCNT_and_LZCNT https://en.wikipedia.org/wiki/SSE4#POPCNT_and_LZCNT