module FlatParse.Internal.UnboxedNumerics where
import GHC.Exts
byteSwap16'# :: Word16'# -> Word16'#
byteSwap32'# :: Word32'# -> Word32'#
eqWord8'# :: Word8'# -> Word8'# -> Int#
eqWord16'# :: Word16'# -> Word16'# -> Int#
eqWord32'# :: Word32'# -> Word32'# -> Int#
{-# inline byteSwap16'# #-}
{-# inline byteSwap32'# #-}
{-# inline eqWord8'# #-}
{-# inline eqWord16'# #-}
{-# inline eqWord32'# #-}
indexWord8OffAddr''# :: Addr# -> Int# -> Word8#
wordToWord8''# :: Word# -> Word8#
word8ToWord''# :: Word8# -> Word#
{-# inline indexWord8OffAddr''# #-}
{-# inline wordToWord8''# #-}
{-# inline word8ToWord''# #-}
#if MIN_VERSION_base(4,16,0)
type Word8'# = Word8#
type Word16'# = Word16#
type Word32'# = Word32#
type Int8'# = Int8#
type Int16'# = Int16#
type Int32'# = Int32#
byteSwap16'# w# = wordToWord16# (byteSwap16# (word16ToWord# w#))
byteSwap32'# w# = wordToWord32# (byteSwap32# (word32ToWord# w#))
eqWord8'# = eqWord8#
eqWord16'# = eqWord16#
eqWord32'# = eqWord32#
indexWord8OffAddr''# = indexWord8OffAddr#
wordToWord8''# = wordToWord8#
word8ToWord''# = word8ToWord#
#else
type Word8'# = Word#
type Word16'# = Word#
type Word32'# = Word#
type Int8'# = Int#
type Int16'# = Int#
type Int32'# = Int#
byteSwap16'# :: Word16'# -> Word16'#
byteSwap16'# = Word16'# -> Word16'#
byteSwap16#
byteSwap32'# :: Word16'# -> Word16'#
byteSwap32'# = Word16'# -> Word16'#
byteSwap32#
eqWord8'# :: Word16'# -> Word16'# -> Int#
eqWord8'# = Word16'# -> Word16'# -> Int#
eqWord#
eqWord16'# :: Word16'# -> Word16'# -> Int#
eqWord16'# = Word16'# -> Word16'# -> Int#
eqWord#
eqWord32'# :: Word16'# -> Word16'# -> Int#
eqWord32'# = Word16'# -> Word16'# -> Int#
eqWord#
word16ToInt16# :: Word16'# -> Int#
word16ToInt16# :: Word16'# -> Int#
word16ToInt16# Word16'#
w = Int# -> Int#
narrow16Int# (Word16'# -> Int#
word2Int# Word16'#
w)
word32ToInt32# :: Word32'# -> Int#
word32ToInt32# :: Word16'# -> Int#
word32ToInt32# Word16'#
w = Int# -> Int#
narrow32Int# (Word16'# -> Int#
word2Int# Word16'#
w)
{-# inline word16ToInt16# #-}
{-# inline word32ToInt32# #-}
indexWord8OffAddr''# :: Addr# -> Int# -> Word8#
indexWord8OffAddr''# Addr#
a# Int#
i# = Word16'# -> Word8#
narrowWord8# (Addr# -> Int# -> Word16'#
indexWord8OffAddr# Addr#
a# Int#
i#)
wordToWord8''# :: Word16'# -> Word8#
wordToWord8''# = Word16'# -> Word8#
narrowWord8#
word8ToWord''# :: Word8# -> Word16'#
word8ToWord''# = Word8# -> Word16'#
extendWord8#
#endif
#if !MIN_VERSION_base(4,13,0)
type Word8# = Word#
narrowWord8# :: Word# -> Word8#
narrowWord8# = narrow8Word#
extendWord8# :: Word# -> Word8#
extendWord8# w# = w#
leWord8# :: Word8# -> Word8# -> Int#
leWord8# w1# w2# = leWord# w1# w2#
eqWord8# :: Word8# -> Word8# -> Int#
eqWord8# w1# w2# = eqWord# w1# w2#
#endif