bits-extra-0.0.1.3: Useful bitwise operations

Safe HaskellSafe
LanguageHaskell2010

Data.Bits.Pdep

Synopsis

Documentation

class Pdep a where #

Bitwise parallel deposit. Deposits bits from the source at the locations described by the mask.

Minimal complete definition

pdep

Methods

pdep :: a -> a -> a #

Instances
Pdep Word # 
Instance details

Defined in Data.Bits.Pdep

Methods

pdep :: Word -> Word -> Word #

Pdep Word8 # 
Instance details

Defined in Data.Bits.Pdep

Methods

pdep :: Word8 -> Word8 -> Word8 #

Pdep Word16 # 
Instance details

Defined in Data.Bits.Pdep

Methods

pdep :: Word16 -> Word16 -> Word16 #

Pdep Word32 # 
Instance details

Defined in Data.Bits.Pdep

Methods

pdep :: Word32 -> Word32 -> Word32 #

Pdep Word64 # 
Instance details

Defined in Data.Bits.Pdep

Methods

pdep :: Word64 -> Word64 -> Word64 #

fastPdepEnabled :: Bool #

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