Skip to content

Expose new CLZ/CTZ primops via `Data.Bits` interface

GHC now provides optimized CLZ/CTZ primops (see #9340 (closed)), this ticket is about exposing those in a more convenient way.

This was proposed as

http://www.haskell.org/pipermail/libraries/2014-August/023567.html

and passed (see also proposal summary)

Edited by Herbert Valerio Riedel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information