bits-extra-0.0.1.4: 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.

Methods

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

Instances
Pext Word Source # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word -> Word -> Word Source #

Pext Word8 Source # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word8 -> Word8 -> Word8 Source #

Pext Word16 Source # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word16 -> Word16 -> Word16 Source #

Pext Word32 Source # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word32 -> Word32 -> Word32 Source #

Pext Word64 Source # 
Instance details

Defined in Data.Bits.Pext

Methods

pext :: Word64 -> Word64 -> Word64 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.