bits-extra-0.0.1.3: Useful bitwise operations

Safe HaskellSafe
LanguageHaskell2010

Data.Bits.Pext

Synopsis

Documentation

class Pext a where Source #

Bitwise parallel extosit. extosits bits from the source at the locations described by the mask.

Minimal complete definition

pext

Methods

pext :: a -> a -> a Source #

fastPextEnabled :: Bool Source #

Runtime flag indicating whether the pext function is using the high-performance. BMI2 instruction set. A value of False indicates that pext is emulated.