bits-extra-0.0.1.3: Useful bitwise operations

Safe HaskellSafe
LanguageHaskell2010

Data.Bits.Pext

Synopsis

Documentation

class Pext a where #

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

Minimal complete definition

pext

Methods

pext :: a -> a -> a #

Instances
Pext Word # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word -> Word -> Word #

Pext Word8 # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word8 -> Word8 -> Word8 #

Pext Word16 # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word16 -> Word16 -> Word16 #

Pext Word32 # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word32 -> Word32 -> Word32 #

Pext Word64 # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word64 -> Word64 -> Word64 #

fastPextEnabled :: Bool #

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