Changes between Version 10 and Version 11 of SimdLlvm


Ignore:
Timestamp:
Oct 5, 2011 1:16:12 PM (3 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SimdLlvm

    v10 v11  
    4646LLVM's [http://llvm.org/docs/LangRef.html#vectorops vector operations:] (`INT32`, `INT64`, `WORD32`, and `WORD64` are defined as `primops.txt.pp`) 
    4747{{{ 
    48 extractIntVec    :: IntVec# -> Int# -> Int# 
    49 extractInt8Vec   :: Int8Vec# -> Int# -> Int# 
    50 extractInt16Vec  :: Int16Vec# -> Int# -> Int# 
    51 extractInt32Vec  :: Int32Vec# -> Int# -> INT32 
    52 extractInt64Vec  :: Int64Vec# -> Int# -> INT64 
    53 extractWordVec   :: WordVec# -> Int# -> Int# 
    54 extractWord8Vec  :: Word8Vec# -> Int# -> Word# 
     48extractIntVec    :: IntVec#    -> Int# -> Int# 
     49extractInt8Vec   :: Int8Vec#   -> Int# -> Int# 
     50extractInt16Vec  :: Int16Vec#  -> Int# -> Int# 
     51extractInt32Vec  :: Int32Vec#  -> Int# -> INT32 
     52extractInt64Vec  :: Int64Vec#  -> Int# -> INT64 
     53extractWordVec   :: WordVec#   -> Int# -> Int# 
     54extractWord8Vec  :: Word8Vec#  -> Int# -> Word# 
    5555extractWord16Vec :: Word16Vec# -> Int# -> Word# 
    5656extractWord32Vec :: Word32Vec# -> Int# -> WORD32 
    5757extractWord64Vec :: Word32Vec# -> Int# -> WORD64 
    58 extractFloatVec  :: FloatVec# -> Int# -> Float# 
     58extractFloatVec  :: FloatVec#  -> Int# -> Float# 
    5959extractDoubleVec :: DoubleVec# -> Int# -> Double# 
     60 
     61insertIntVec    :: IntVec#    -> Int# -> Int#    -> IntVec#    
     62insertInt8Vec   :: Int8Vec#   -> Int# -> Int#    -> Int8Vec#   
     63insertInt16Vec  :: Int16Vec#  -> Int# -> Int#    -> Int16Vec#  
     64insertInt32Vec  :: Int32Vec#  -> Int# -> INT32   -> Int32Vec#  
     65insertInt64Vec  :: Int64Vec#  -> Int# -> INT64   -> Int64Vec#  
     66insertWordVec   :: WordVec#   -> Int# -> Int#    -> WordVec#   
     67insertWord8Vec  :: Word8Vec#  -> Int# -> Word#   -> Word8Vec#  
     68insertWord16Vec :: Word16Vec# -> Int# -> Word#   -> Word16Vec# 
     69insertWord32Vec :: Word32Vec# -> Int# -> WORD32  -> Word32Vec# 
     70insertWord64Vec :: Word32Vec# -> Int# -> WORD64  -> Word32Vec# 
     71insertFloatVec  :: FloatVec#  -> Int# -> Float#  -> FloatVec# 
     72insertDoubleVec :: DoubleVec# -> Int# -> Double# -> DoubleVec# 
    6073}}} 
    6174 
     75NB: The order of the second and third argument differs from the LLVM operations to be more in line to what we usually use in Haskell. 
    6276 
    6377== Using SIMD instructions in DPH ==