3 ms·
GHC also includes a `popCount` function that is implemented in terms of the built-in instruction: https://haskell-works.github.io/posts/2018-08-22-pdep-and-pext
by vaibhavsagar 7y ago
GHC also includes a `popCount` function that is implemented in terms of the built-in instruction: https://haskell-works.github.io/posts/2018-08-22-pdep-and-pext-bit-manipulation-functions.html#availability-on-ghc https://haskell-works.github.io/posts/2018-08-22-pdep-and-pe...