Moduleghc-internal-10.0.0
GHC.Internal.Prim
Contents
- The word size story.
- Char#
- Int8#
- Word8#
- Int16#
- Word16#
- Int32#
- Word32#
- Int64#
- Word64#
- Int#
- Word#
- Narrowings
- Double#
- Float#
- Fused multiply-add operations
- Arrays
- Small Arrays
- Byte Arrays
- Addr#
- Mutable variables
- Exceptions
- Continuations
- STM-accessible Mutable Variables
- Synchronized Mutable Variables
- Delay/wait operations
- Concurrency primitives
- Weak pointers
- Stable pointers and names
- Compact normal form
- Unsafe pointer equality
- Parallelism
- Controlling object lifetime
- Tag to enum stuff
- Bytecode operations
- Misc
- Annotating call stacks
- Info Table Origin
- Etc
- Safe coercions
- SIMD Vectors
- Prefetch
- RuntimeRep polymorphism in continuation-style primops
Synopsis
- data Char#
- value gtChar#
- value geChar#
- value eqChar#
- value neChar#
- value ltChar#
- value leChar#
- value ord#
- data Int8#
- value int8ToInt#
- value intToInt8#
- value negateInt8#
- value plusInt8#
- value subInt8#
- value timesInt8#
- value quotInt8#
- value remInt8#
- value quotRemInt8#
- value uncheckedShiftLInt8#
- value uncheckedShiftRAInt8#
- value uncheckedShiftRLInt8#
- value int8ToWord8#
- value eqInt8#
- value geInt8#
- value gtInt8#
- value leInt8#
- value ltInt8#
- value neInt8#
- data Word8#
- value word8ToWord#
- value wordToWord8#
- value plusWord8#
- value subWord8#
- value timesWord8#
- value quotWord8#
- value remWord8#
- value quotRemWord8#
- value andWord8#
- value orWord8#
- value xorWord8#
- value notWord8#
- value uncheckedShiftLWord8#
- value uncheckedShiftRLWord8#
- value word8ToInt8#
- value eqWord8#
- value geWord8#
- value gtWord8#
- value leWord8#
- value ltWord8#
- value neWord8#
- data Int16#
- value int16ToInt#
- value intToInt16#
- value negateInt16#
- value plusInt16#
- value subInt16#
- value timesInt16#
- value quotInt16#
- value remInt16#
- value quotRemInt16#
- value uncheckedShiftLInt16#
- value uncheckedShiftRAInt16#
- value uncheckedShiftRLInt16#
- value int16ToWord16#
- value eqInt16#
- value geInt16#
- value gtInt16#
- value leInt16#
- value ltInt16#
- value neInt16#
- data Word16#
- value word16ToWord#
- value wordToWord16#
- value plusWord16#
- value subWord16#
- value timesWord16#
- value quotWord16#
- value remWord16#
- value quotRemWord16#
- value andWord16#
- value orWord16#
- value xorWord16#
- value notWord16#
- value uncheckedShiftLWord16#
- value uncheckedShiftRLWord16#
- value word16ToInt16#
- value eqWord16#
- value geWord16#
- value gtWord16#
- value leWord16#
- value ltWord16#
- value neWord16#
- data Int32#
- value int32ToInt#
- value intToInt32#
- value negateInt32#
- value plusInt32#
- value subInt32#
- value timesInt32#
- value quotInt32#
- value remInt32#
- value quotRemInt32#
- value uncheckedShiftLInt32#
- value uncheckedShiftRAInt32#
- value uncheckedShiftRLInt32#
- value int32ToWord32#
- value eqInt32#
- value geInt32#
- value gtInt32#
- value leInt32#
- value ltInt32#
- value neInt32#
- data Word32#
- value word32ToWord#
- value wordToWord32#
- value plusWord32#
- value subWord32#
- value timesWord32#
- value quotWord32#
- value remWord32#
- value quotRemWord32#
- value andWord32#
- value orWord32#
- value xorWord32#
- value notWord32#
- value uncheckedShiftLWord32#
- value uncheckedShiftRLWord32#
- value word32ToInt32#
- value eqWord32#
- value geWord32#
- value gtWord32#
- value leWord32#
- value ltWord32#
- value neWord32#
- data Int64#
- value int64ToInt#
- value intToInt64#
- value negateInt64#
- value plusInt64#
- value subInt64#
- value timesInt64#
- value quotInt64#
- value remInt64#
- value uncheckedIShiftL64#
- value uncheckedIShiftRA64#
- value uncheckedIShiftRL64#
- value int64ToWord64#
- value eqInt64#
- value geInt64#
- value gtInt64#
- value leInt64#
- value ltInt64#
- value neInt64#
- data Word64#
- value word64ToWord#
- value wordToWord64#
- value plusWord64#
- value subWord64#
- value timesWord64#
- value quotWord64#
- value remWord64#
- value and64#
- value or64#
- value xor64#
- value not64#
- value uncheckedShiftL64#
- value uncheckedShiftRL64#
- value word64ToInt64#
- value eqWord64#
- value geWord64#
- value gtWord64#
- value leWord64#
- value ltWord64#
- value neWord64#
- data Int#
- value +#
- value -#
- value *#
- value timesInt2#
- value mulIntMayOflo#
- value quotInt#
- value remInt#
- value quotRemInt#
- value andI#
- value orI#
- value xorI#
- value notI#
- value negateInt#
- value addIntC#
- value subIntC#
- value >#
- value >=#
- value ==#
- value /=#
- value <#
- value <=#
- value chr#
- value int2Word#
- value int2Float#
- value int2Double#
- value word2Float#
- value word2Double#
- value uncheckedIShiftL#
- value uncheckedIShiftRA#
- value uncheckedIShiftRL#
- data Word#
- value plusWord#
- value addWordC#
- value subWordC#
- value plusWord2#
- value minusWord#
- value timesWord#
- value timesWord2#
- value quotWord#
- value remWord#
- value quotRemWord#
- value quotRemWord2#
- value and#
- value or#
- value xor#
- value not#
- value uncheckedShiftL#
- value uncheckedShiftRL#
- value word2Int#
- value gtWord#
- value geWord#
- value eqWord#
- value neWord#
- value ltWord#
- value leWord#
- value popCnt8#
- value popCnt16#
- value popCnt32#
- value popCnt64#
- value popCnt#
- value pdep8#
- value pdep16#
- value pdep32#
- value pdep64#
- value pdep#
- value pext8#
- value pext16#
- value pext32#
- value pext64#
- value pext#
- value clz8#
- value clz16#
- value clz32#
- value clz64#
- value clz#
- value ctz8#
- value ctz16#
- value ctz32#
- value ctz64#
- value ctz#
- value byteSwap16#
- value byteSwap32#
- value byteSwap64#
- value byteSwap#
- value bitReverse8#
- value bitReverse16#
- value bitReverse32#
- value bitReverse64#
- value bitReverse#
- value narrow8Int#
- value narrow16Int#
- value narrow32Int#
- value narrow8Word#
- value narrow16Word#
- value narrow32Word#
- data Double#
- value >##
- value >=##
- value ==##
- value /=##
- value <##
- value <=##
- value minDouble#
- value maxDouble#
- value +##
- value -##
- value *##
- value /##
- value negateDouble#
- value fabsDouble#
- value double2Int#
- value double2Float#
- value expDouble#
- value expm1Double#
- value logDouble#
- value log1pDouble#
- value sqrtDouble#
- value sinDouble#
- value cosDouble#
- value tanDouble#
- value asinDouble#
- value acosDouble#
- value atanDouble#
- value sinhDouble#
- value coshDouble#
- value tanhDouble#
- value asinhDouble#
- value acoshDouble#
- value atanhDouble#
- value **##
- value decodeDouble_2Int#
- value decodeDouble_Int64#
- value castDoubleToWord64#
- value castWord64ToDouble#
- data Float#
- value gtFloat#
- value geFloat#
- value eqFloat#
- value neFloat#
- value ltFloat#
- value leFloat#
- value minFloat#
- value maxFloat#
- value plusFloat#
- value minusFloat#
- value timesFloat#
- value divideFloat#
- value negateFloat#
- value fabsFloat#
- value float2Int#
- value expFloat#
- value expm1Float#
- value logFloat#
- value log1pFloat#
- value sqrtFloat#
- value sinFloat#
- value cosFloat#
- value tanFloat#
- value asinFloat#
- value acosFloat#
- value atanFloat#
- value sinhFloat#
- value coshFloat#
- value tanhFloat#
- value asinhFloat#
- value acoshFloat#
- value atanhFloat#
- value powerFloat#
- value float2Double#
- value decodeFloat_Int#
- value castFloatToWord32#
- value castWord32ToFloat#
- value fmaddFloat#
- value fmsubFloat#
- value fnmaddFloat#
- value fnmsubFloat#
- value fmaddDouble#
- value fmsubDouble#
- value fnmaddDouble#
- value fnmsubDouble#
- data Array#
- data MutableArray#
- value newArray#
- value readArray#
- value writeArray#
- value sizeofArray#
- value sizeofMutableArray#
- value indexArray#
- value unsafeFreezeArray#
- value unsafeThawArray#
- value copyArray#
- value copyMutableArray#
- value cloneArray#
- value cloneMutableArray#
- value freezeArray#
- value thawArray#
- value casArray#
- data SmallArray#
- data SmallMutableArray#
- value newSmallArray#
- value shrinkSmallMutableArray#
- value readSmallArray#
- value writeSmallArray#
- value sizeofSmallArray#
- value sizeofSmallMutableArray#
- value getSizeofSmallMutableArray#
- value indexSmallArray#
- value unsafeFreezeSmallArray#
- value unsafeThawSmallArray#
- value copySmallArray#
- value copySmallMutableArray#
- value cloneSmallArray#
- value cloneSmallMutableArray#
- value freezeSmallArray#
- value thawSmallArray#
- value casSmallArray#
- data ByteArray#
- data MutableByteArray#
- value newByteArray#
- value newPinnedByteArray#
- value newAlignedPinnedByteArray#
- value isMutableByteArrayPinned#
- value isByteArrayPinned#
- value isByteArrayWeaklyPinned#
- value isMutableByteArrayWeaklyPinned#
- value byteArrayContents#
- value mutableByteArrayContents#
- value shrinkMutableByteArray#
- value resizeMutableByteArray#
- value unsafeFreezeByteArray#
- value unsafeThawByteArray#
- value sizeofByteArray#
- value sizeofMutableByteArray#
- value getSizeofMutableByteArray#
- value indexCharArray#
- value indexWideCharArray#
- value indexIntArray#
- value indexWordArray#
- value indexAddrArray#
- value indexFloatArray#
- value indexDoubleArray#
- value indexStablePtrArray#
- value indexInt8Array#
- value indexWord8Array#
- value indexInt16Array#
- value indexWord16Array#
- value indexInt32Array#
- value indexWord32Array#
- value indexInt64Array#
- value indexWord64Array#
- value indexWord8ArrayAsChar#
- value indexWord8ArrayAsWideChar#
- value indexWord8ArrayAsInt#
- value indexWord8ArrayAsWord#
- value indexWord8ArrayAsAddr#
- value indexWord8ArrayAsFloat#
- value indexWord8ArrayAsDouble#
- value indexWord8ArrayAsStablePtr#
- value indexWord8ArrayAsInt16#
- value indexWord8ArrayAsWord16#
- value indexWord8ArrayAsInt32#
- value indexWord8ArrayAsWord32#
- value indexWord8ArrayAsInt64#
- value indexWord8ArrayAsWord64#
- value readCharArray#
- value readWideCharArray#
- value readIntArray#
- value readWordArray#
- value readAddrArray#
- value readFloatArray#
- value readDoubleArray#
- value readStablePtrArray#
- value readInt8Array#
- value readWord8Array#
- value readInt16Array#
- value readWord16Array#
- value readInt32Array#
- value readWord32Array#
- value readInt64Array#
- value readWord64Array#
- value readWord8ArrayAsChar#
- value readWord8ArrayAsWideChar#
- value readWord8ArrayAsInt#
- value readWord8ArrayAsWord#
- value readWord8ArrayAsAddr#
- value readWord8ArrayAsFloat#
- value readWord8ArrayAsDouble#
- value readWord8ArrayAsStablePtr#
- value readWord8ArrayAsInt16#
- value readWord8ArrayAsWord16#
- value readWord8ArrayAsInt32#
- value readWord8ArrayAsWord32#
- value readWord8ArrayAsInt64#
- value readWord8ArrayAsWord64#
- value writeCharArray#
- value writeWideCharArray#
- value writeIntArray#
- value writeWordArray#
- value writeAddrArray#
- value writeFloatArray#
- value writeDoubleArray#
- value writeStablePtrArray#
- value writeInt8Array#
- value writeWord8Array#
- value writeInt16Array#
- value writeWord16Array#
- value writeInt32Array#
- value writeWord32Array#
- value writeInt64Array#
- value writeWord64Array#
- value writeWord8ArrayAsChar#
- value writeWord8ArrayAsWideChar#
- value writeWord8ArrayAsInt#
- value writeWord8ArrayAsWord#
- value writeWord8ArrayAsAddr#
- value writeWord8ArrayAsFloat#
- value writeWord8ArrayAsDouble#
- value writeWord8ArrayAsStablePtr#
- value writeWord8ArrayAsInt16#
- value writeWord8ArrayAsWord16#
- value writeWord8ArrayAsInt32#
- value writeWord8ArrayAsWord32#
- value writeWord8ArrayAsInt64#
- value writeWord8ArrayAsWord64#
- value compareByteArrays#
- value copyByteArray#
- value copyMutableByteArray#
- value copyMutableByteArrayNonOverlapping#
- value copyByteArrayToAddr#
- value copyMutableByteArrayToAddr#
- value copyAddrToByteArray#
- value copyAddrToAddr#
- value copyAddrToAddrNonOverlapping#
- value setByteArray#
- value setAddrRange#
- value atomicReadIntArray#
- value atomicWriteIntArray#
- value casIntArray#
- value casInt8Array#
- value casInt16Array#
- value casInt32Array#
- value casInt64Array#
- value fetchAddIntArray#
- value fetchSubIntArray#
- value fetchAndIntArray#
- value fetchNandIntArray#
- value fetchOrIntArray#
- value fetchXorIntArray#
- data Addr#
- value nullAddr#
- value plusAddr#
- value minusAddr#
- value remAddr#
- value addr2Int#
- value int2Addr#
- value gtAddr#
- value geAddr#
- value eqAddr#
- value neAddr#
- value ltAddr#
- value leAddr#
- value indexCharOffAddr#
- value indexWideCharOffAddr#
- value indexIntOffAddr#
- value indexWordOffAddr#
- value indexAddrOffAddr#
- value indexFloatOffAddr#
- value indexDoubleOffAddr#
- value indexStablePtrOffAddr#
- value indexInt8OffAddr#
- value indexWord8OffAddr#
- value indexInt16OffAddr#
- value indexWord16OffAddr#
- value indexInt32OffAddr#
- value indexWord32OffAddr#
- value indexInt64OffAddr#
- value indexWord64OffAddr#
- value indexWord8OffAddrAsChar#
- value indexWord8OffAddrAsWideChar#
- value indexWord8OffAddrAsInt#
- value indexWord8OffAddrAsWord#
- value indexWord8OffAddrAsAddr#
- value indexWord8OffAddrAsFloat#
- value indexWord8OffAddrAsDouble#
- value indexWord8OffAddrAsStablePtr#
- value indexWord8OffAddrAsInt16#
- value indexWord8OffAddrAsWord16#
- value indexWord8OffAddrAsInt32#
- value indexWord8OffAddrAsWord32#
- value indexWord8OffAddrAsInt64#
- value indexWord8OffAddrAsWord64#
- value readCharOffAddr#
- value readWideCharOffAddr#
- value readIntOffAddr#
- value readWordOffAddr#
- value readAddrOffAddr#
- value readFloatOffAddr#
- value readDoubleOffAddr#
- value readStablePtrOffAddr#
- value readInt8OffAddr#
- value readWord8OffAddr#
- value readInt16OffAddr#
- value readWord16OffAddr#
- value readInt32OffAddr#
- value readWord32OffAddr#
- value readInt64OffAddr#
- value readWord64OffAddr#
- value readWord8OffAddrAsChar#
- value readWord8OffAddrAsWideChar#
- value readWord8OffAddrAsInt#
- value readWord8OffAddrAsWord#
- value readWord8OffAddrAsAddr#
- value readWord8OffAddrAsFloat#
- value readWord8OffAddrAsDouble#
- value readWord8OffAddrAsStablePtr#
- value readWord8OffAddrAsInt16#
- value readWord8OffAddrAsWord16#
- value readWord8OffAddrAsInt32#
- value readWord8OffAddrAsWord32#
- value readWord8OffAddrAsInt64#
- value readWord8OffAddrAsWord64#
- value writeCharOffAddr#
- value writeWideCharOffAddr#
- value writeIntOffAddr#
- value writeWordOffAddr#
- value writeAddrOffAddr#
- value writeFloatOffAddr#
- value writeDoubleOffAddr#
- value writeStablePtrOffAddr#
- value writeInt8OffAddr#
- value writeWord8OffAddr#
- value writeInt16OffAddr#
- value writeWord16OffAddr#
- value writeInt32OffAddr#
- value writeWord32OffAddr#
- value writeInt64OffAddr#
- value writeWord64OffAddr#
- value writeWord8OffAddrAsChar#
- value writeWord8OffAddrAsWideChar#
- value writeWord8OffAddrAsInt#
- value writeWord8OffAddrAsWord#
- value writeWord8OffAddrAsAddr#
- value writeWord8OffAddrAsFloat#
- value writeWord8OffAddrAsDouble#
- value writeWord8OffAddrAsStablePtr#
- value writeWord8OffAddrAsInt16#
- value writeWord8OffAddrAsWord16#
- value writeWord8OffAddrAsInt32#
- value writeWord8OffAddrAsWord32#
- value writeWord8OffAddrAsInt64#
- value writeWord8OffAddrAsWord64#
- value atomicExchangeAddrAddr#
- value atomicExchangeWordAddr#
- value atomicCasAddrAddr#
- value atomicCasWordAddr#
- value atomicCasWord8Addr#
- value atomicCasWord16Addr#
- value atomicCasWord32Addr#
- value atomicCasWord64Addr#
- value fetchAddWordAddr#
- value fetchSubWordAddr#
- value fetchAndWordAddr#
- value fetchNandWordAddr#
- value fetchOrWordAddr#
- value fetchXorWordAddr#
- value atomicReadWordAddr#
- value atomicWriteWordAddr#
- data MutVar#
- value newMutVar#
- value readMutVar#
- value writeMutVar#
- value atomicSwapMutVar#
- value atomicModifyMutVar2#
- value atomicModifyMutVar_#
- value casMutVar#
- value catch#
- value raise#
- value raiseUnderflow#
- value raiseOverflow#
- value raiseDivZero#
- value raiseIO#
- value maskAsyncExceptions#
- value maskUninterruptible#
- value unmaskAsyncExceptions#
- value getMaskingState#
- data PromptTag#
- value newPromptTag#
- value prompt#
- value control0#
- data TVar#
- value atomically#
- value retry#
- value catchRetry#
- value catchSTM#
- value newTVar#
- value readTVar#
- value readTVarIO#
- value writeTVar#
- data MVar#
- value newMVar#
- value takeMVar#
- value tryTakeMVar#
- value putMVar#
- value tryPutMVar#
- value readMVar#
- value tryReadMVar#
- value isEmptyMVar#
- value delay#
- value waitRead#
- value waitWrite#
- data State#
- data RealWorld
- data ThreadId#
- value fork#
- value forkOn#
- value killThread#
- value yield#
- value myThreadId#
- value labelThread#
- value isCurrentThreadBound#
- value noDuplicate#
- value threadLabel#
- value threadStatus#
- value listThreads#
- data Weak#
- value mkWeak#
- value mkWeakNoFinalizer#
- value addCFinalizerToWeak#
- value deRefWeak#
- value finalizeWeak#
- value touch#
- data StablePtr#
- data StableName#
- value makeStablePtr#
- value deRefStablePtr#
- value eqStablePtr#
- value makeStableName#
- value stableNameToInt#
- data Compact#
- value compactNew#
- value compactResize#
- value compactContains#
- value compactContainsAny#
- value compactGetFirstBlock#
- value compactGetNextBlock#
- value compactAllocateBlock#
- value compactFixupPointers#
- value compactAdd#
- value compactAddWithSharing#
- value compactSize#
- value reallyUnsafePtrEquality#
- value par#
- value spark#
- value getSpark#
- value numSparks#
- value keepAlive#
- value dataToTagSmall#
- value dataToTagLarge#
- value tagToEnum#
- data BCO
- value addrToAny#
- value anyToAddr#
- value mkApUpd0#
- value newBCO#
- value newConAppObj#
- value unpackClosure#
- value closureSize#
- value getApStackVal#
- value getCCSOf#
- value getCurrentCCS#
- value clearCCS#
- value annotateStack#
- value whereFrom#
- data FUN
- value realWorld#
- value void#
- data Proxy#
- value proxy#
- value seq
- value traceEvent#
- value traceBinaryEvent#
- value traceMarker#
- value setThreadAllocationCounter#
- value setOtherThreadAllocationCounter#
- data StackSnapshot#
- value coerce
- data Int8X16#
- data Int16X8#
- data Int32X4#
- data Int64X2#
- data Int8X32#
- data Int16X16#
- data Int32X8#
- data Int64X4#
- data Int8X64#
- data Int16X32#
- data Int32X16#
- data Int64X8#
- data Word8X16#
- data Word16X8#
- data Word32X4#
- data Word64X2#
- data Word8X32#
- data Word16X16#
- data Word32X8#
- data Word64X4#
- data Word8X64#
- data Word16X32#
- data Word32X16#
- data Word64X8#
- data FloatX4#
- data DoubleX2#
- data FloatX8#
- data DoubleX4#
- data FloatX16#
- data DoubleX8#
- value broadcastInt8X16#
- value broadcastInt16X8#
- value broadcastInt32X4#
- value broadcastInt64X2#
- value broadcastInt8X32#
- value broadcastInt16X16#
- value broadcastInt32X8#
- value broadcastInt64X4#
- value broadcastInt8X64#
- value broadcastInt16X32#
- value broadcastInt32X16#
- value broadcastInt64X8#
- value broadcastWord8X16#
- value broadcastWord16X8#
- value broadcastWord32X4#
- value broadcastWord64X2#
- value broadcastWord8X32#
- value broadcastWord16X16#
- value broadcastWord32X8#
- value broadcastWord64X4#
- value broadcastWord8X64#
- value broadcastWord16X32#
- value broadcastWord32X16#
- value broadcastWord64X8#
- value broadcastFloatX4#
- value broadcastDoubleX2#
- value broadcastFloatX8#
- value broadcastDoubleX4#
- value broadcastFloatX16#
- value broadcastDoubleX8#
- value packInt8X16#
- value packInt16X8#
- value packInt32X4#
- value packInt64X2#
- value packInt8X32#
- value packInt16X16#
- value packInt32X8#
- value packInt64X4#
- value packInt8X64#
- value packInt16X32#
- value packInt32X16#
- value packInt64X8#
- value packWord8X16#
- value packWord16X8#
- value packWord32X4#
- value packWord64X2#
- value packWord8X32#
- value packWord16X16#
- value packWord32X8#
- value packWord64X4#
- value packWord8X64#
- value packWord16X32#
- value packWord32X16#
- value packWord64X8#
- value packFloatX4#
- value packDoubleX2#
- value packFloatX8#
- value packDoubleX4#
- value packFloatX16#
- value packDoubleX8#
- value unpackInt8X16#
- value unpackInt16X8#
- value unpackInt32X4#
- value unpackInt64X2#
- value unpackInt8X32#
- value unpackInt16X16#
- value unpackInt32X8#
- value unpackInt64X4#
- value unpackInt8X64#
- value unpackInt16X32#
- value unpackInt32X16#
- value unpackInt64X8#
- value unpackWord8X16#
- value unpackWord16X8#
- value unpackWord32X4#
- value unpackWord64X2#
- value unpackWord8X32#
- value unpackWord16X16#
- value unpackWord32X8#
- value unpackWord64X4#
- value unpackWord8X64#
- value unpackWord16X32#
- value unpackWord32X16#
- value unpackWord64X8#
- value unpackFloatX4#
- value unpackDoubleX2#
- value unpackFloatX8#
- value unpackDoubleX4#
- value unpackFloatX16#
- value unpackDoubleX8#
- value insertInt8X16#
- value insertInt16X8#
- value insertInt32X4#
- value insertInt64X2#
- value insertInt8X32#
- value insertInt16X16#
- value insertInt32X8#
- value insertInt64X4#
- value insertInt8X64#
- value insertInt16X32#
- value insertInt32X16#
- value insertInt64X8#
- value insertWord8X16#
- value insertWord16X8#
- value insertWord32X4#
- value insertWord64X2#
- value insertWord8X32#
- value insertWord16X16#
- value insertWord32X8#
- value insertWord64X4#
- value insertWord8X64#
- value insertWord16X32#
- value insertWord32X16#
- value insertWord64X8#
- value insertFloatX4#
- value insertDoubleX2#
- value insertFloatX8#
- value insertDoubleX4#
- value insertFloatX16#
- value insertDoubleX8#
- value plusInt8X16#
- value plusInt16X8#
- value plusInt32X4#
- value plusInt64X2#
- value plusInt8X32#
- value plusInt16X16#
- value plusInt32X8#
- value plusInt64X4#
- value plusInt8X64#
- value plusInt16X32#
- value plusInt32X16#
- value plusInt64X8#
- value plusWord8X16#
- value plusWord16X8#
- value plusWord32X4#
- value plusWord64X2#
- value plusWord8X32#
- value plusWord16X16#
- value plusWord32X8#
- value plusWord64X4#
- value plusWord8X64#
- value plusWord16X32#
- value plusWord32X16#
- value plusWord64X8#
- value plusFloatX4#
- value plusDoubleX2#
- value plusFloatX8#
- value plusDoubleX4#
- value plusFloatX16#
- value plusDoubleX8#
- value minusInt8X16#
- value minusInt16X8#
- value minusInt32X4#
- value minusInt64X2#
- value minusInt8X32#
- value minusInt16X16#
- value minusInt32X8#
- value minusInt64X4#
- value minusInt8X64#
- value minusInt16X32#
- value minusInt32X16#
- value minusInt64X8#
- value minusWord8X16#
- value minusWord16X8#
- value minusWord32X4#
- value minusWord64X2#
- value minusWord8X32#
- value minusWord16X16#
- value minusWord32X8#
- value minusWord64X4#
- value minusWord8X64#
- value minusWord16X32#
- value minusWord32X16#
- value minusWord64X8#
- value minusFloatX4#
- value minusDoubleX2#
- value minusFloatX8#
- value minusDoubleX4#
- value minusFloatX16#
- value minusDoubleX8#
- value timesInt8X16#
- value timesInt16X8#
- value timesInt32X4#
- value timesInt64X2#
- value timesInt8X32#
- value timesInt16X16#
- value timesInt32X8#
- value timesInt64X4#
- value timesInt8X64#
- value timesInt16X32#
- value timesInt32X16#
- value timesInt64X8#
- value timesWord8X16#
- value timesWord16X8#
- value timesWord32X4#
- value timesWord64X2#
- value timesWord8X32#
- value timesWord16X16#
- value timesWord32X8#
- value timesWord64X4#
- value timesWord8X64#
- value timesWord16X32#
- value timesWord32X16#
- value timesWord64X8#
- value timesFloatX4#
- value timesDoubleX2#
- value timesFloatX8#
- value timesDoubleX4#
- value timesFloatX16#
- value timesDoubleX8#
- value divideFloatX4#
- value divideDoubleX2#
- value divideFloatX8#
- value divideDoubleX4#
- value divideFloatX16#
- value divideDoubleX8#
- value quotInt8X16#
- value quotInt16X8#
- value quotInt32X4#
- value quotInt64X2#
- value quotInt8X32#
- value quotInt16X16#
- value quotInt32X8#
- value quotInt64X4#
- value quotInt8X64#
- value quotInt16X32#
- value quotInt32X16#
- value quotInt64X8#
- value quotWord8X16#
- value quotWord16X8#
- value quotWord32X4#
- value quotWord64X2#
- value quotWord8X32#
- value quotWord16X16#
- value quotWord32X8#
- value quotWord64X4#
- value quotWord8X64#
- value quotWord16X32#
- value quotWord32X16#
- value quotWord64X8#
- value remInt8X16#
- value remInt16X8#
- value remInt32X4#
- value remInt64X2#
- value remInt8X32#
- value remInt16X16#
- value remInt32X8#
- value remInt64X4#
- value remInt8X64#
- value remInt16X32#
- value remInt32X16#
- value remInt64X8#
- value remWord8X16#
- value remWord16X8#
- value remWord32X4#
- value remWord64X2#
- value remWord8X32#
- value remWord16X16#
- value remWord32X8#
- value remWord64X4#
- value remWord8X64#
- value remWord16X32#
- value remWord32X16#
- value remWord64X8#
- value negateInt8X16#
- value negateInt16X8#
- value negateInt32X4#
- value negateInt64X2#
- value negateInt8X32#
- value negateInt16X16#
- value negateInt32X8#
- value negateInt64X4#
- value negateInt8X64#
- value negateInt16X32#
- value negateInt32X16#
- value negateInt64X8#
- value negateFloatX4#
- value negateDoubleX2#
- value negateFloatX8#
- value negateDoubleX4#
- value negateFloatX16#
- value negateDoubleX8#
- value absInt8X16#
- value absInt16X8#
- value absInt32X4#
- value absInt64X2#
- value absInt8X32#
- value absInt16X16#
- value absInt32X8#
- value absInt64X4#
- value absInt8X64#
- value absInt16X32#
- value absInt32X16#
- value absInt64X8#
- value absFloatX4#
- value absDoubleX2#
- value absFloatX8#
- value absDoubleX4#
- value absFloatX16#
- value absDoubleX8#
- value sqrtFloatX4#
- value sqrtDoubleX2#
- value sqrtFloatX8#
- value sqrtDoubleX4#
- value sqrtFloatX16#
- value sqrtDoubleX8#
- value indexInt8X16Array#
- value indexInt16X8Array#
- value indexInt32X4Array#
- value indexInt64X2Array#
- value indexInt8X32Array#
- value indexInt16X16Array#
- value indexInt32X8Array#
- value indexInt64X4Array#
- value indexInt8X64Array#
- value indexInt16X32Array#
- value indexInt32X16Array#
- value indexInt64X8Array#
- value indexWord8X16Array#
- value indexWord16X8Array#
- value indexWord32X4Array#
- value indexWord64X2Array#
- value indexWord8X32Array#
- value indexWord16X16Array#
- value indexWord32X8Array#
- value indexWord64X4Array#
- value indexWord8X64Array#
- value indexWord16X32Array#
- value indexWord32X16Array#
- value indexWord64X8Array#
- value indexFloatX4Array#
- value indexDoubleX2Array#
- value indexFloatX8Array#
- value indexDoubleX4Array#
- value indexFloatX16Array#
- value indexDoubleX8Array#
- value readInt8X16Array#
- value readInt16X8Array#
- value readInt32X4Array#
- value readInt64X2Array#
- value readInt8X32Array#
- value readInt16X16Array#
- value readInt32X8Array#
- value readInt64X4Array#
- value readInt8X64Array#
- value readInt16X32Array#
- value readInt32X16Array#
- value readInt64X8Array#
- value readWord8X16Array#
- value readWord16X8Array#
- value readWord32X4Array#
- value readWord64X2Array#
- value readWord8X32Array#
- value readWord16X16Array#
- value readWord32X8Array#
- value readWord64X4Array#
- value readWord8X64Array#
- value readWord16X32Array#
- value readWord32X16Array#
- value readWord64X8Array#
- value readFloatX4Array#
- value readDoubleX2Array#
- value readFloatX8Array#
- value readDoubleX4Array#
- value readFloatX16Array#
- value readDoubleX8Array#
- value writeInt8X16Array#
- value writeInt16X8Array#
- value writeInt32X4Array#
- value writeInt64X2Array#
- value writeInt8X32Array#
- value writeInt16X16Array#
- value writeInt32X8Array#
- value writeInt64X4Array#
- value writeInt8X64Array#
- value writeInt16X32Array#
- value writeInt32X16Array#
- value writeInt64X8Array#
- value writeWord8X16Array#
- value writeWord16X8Array#
- value writeWord32X4Array#
- value writeWord64X2Array#
- value writeWord8X32Array#
- value writeWord16X16Array#
- value writeWord32X8Array#
- value writeWord64X4Array#
- value writeWord8X64Array#
- value writeWord16X32Array#
- value writeWord32X16Array#
- value writeWord64X8Array#
- value writeFloatX4Array#
- value writeDoubleX2Array#
- value writeFloatX8Array#
- value writeDoubleX4Array#
- value writeFloatX16Array#
- value writeDoubleX8Array#
- value indexInt8X16OffAddr#
- value indexInt16X8OffAddr#
- value indexInt32X4OffAddr#
- value indexInt64X2OffAddr#
- value indexInt8X32OffAddr#
- value indexInt16X16OffAddr#
- value indexInt32X8OffAddr#
- value indexInt64X4OffAddr#
- value indexInt8X64OffAddr#
- value indexInt16X32OffAddr#
- value indexInt32X16OffAddr#
- value indexInt64X8OffAddr#
- value indexWord8X16OffAddr#
- value indexWord16X8OffAddr#
- value indexWord32X4OffAddr#
- value indexWord64X2OffAddr#
- value indexWord8X32OffAddr#
- value indexWord16X16OffAddr#
- value indexWord32X8OffAddr#
- value indexWord64X4OffAddr#
- value indexWord8X64OffAddr#
- value indexWord16X32OffAddr#
- value indexWord32X16OffAddr#
- value indexWord64X8OffAddr#
- value indexFloatX4OffAddr#
- value indexDoubleX2OffAddr#
- value indexFloatX8OffAddr#
- value indexDoubleX4OffAddr#
- value indexFloatX16OffAddr#
- value indexDoubleX8OffAddr#
- value readInt8X16OffAddr#
- value readInt16X8OffAddr#
- value readInt32X4OffAddr#
- value readInt64X2OffAddr#
- value readInt8X32OffAddr#
- value readInt16X16OffAddr#
- value readInt32X8OffAddr#
- value readInt64X4OffAddr#
- value readInt8X64OffAddr#
- value readInt16X32OffAddr#
- value readInt32X16OffAddr#
- value readInt64X8OffAddr#
- value readWord8X16OffAddr#
- value readWord16X8OffAddr#
- value readWord32X4OffAddr#
- value readWord64X2OffAddr#
- value readWord8X32OffAddr#
- value readWord16X16OffAddr#
- value readWord32X8OffAddr#
- value readWord64X4OffAddr#
- value readWord8X64OffAddr#
- value readWord16X32OffAddr#
- value readWord32X16OffAddr#
- value readWord64X8OffAddr#
- value readFloatX4OffAddr#
- value readDoubleX2OffAddr#
- value readFloatX8OffAddr#
- value readDoubleX4OffAddr#
- value readFloatX16OffAddr#
- value readDoubleX8OffAddr#
- value writeInt8X16OffAddr#
- value writeInt16X8OffAddr#
- value writeInt32X4OffAddr#
- value writeInt64X2OffAddr#
- value writeInt8X32OffAddr#
- value writeInt16X16OffAddr#
- value writeInt32X8OffAddr#
- value writeInt64X4OffAddr#
- value writeInt8X64OffAddr#
- value writeInt16X32OffAddr#
- value writeInt32X16OffAddr#
- value writeInt64X8OffAddr#
- value writeWord8X16OffAddr#
- value writeWord16X8OffAddr#
- value writeWord32X4OffAddr#
- value writeWord64X2OffAddr#
- value writeWord8X32OffAddr#
- value writeWord16X16OffAddr#
- value writeWord32X8OffAddr#
- value writeWord64X4OffAddr#
- value writeWord8X64OffAddr#
- value writeWord16X32OffAddr#
- value writeWord32X16OffAddr#
- value writeWord64X8OffAddr#
- value writeFloatX4OffAddr#
- value writeDoubleX2OffAddr#
- value writeFloatX8OffAddr#
- value writeDoubleX4OffAddr#
- value writeFloatX16OffAddr#
- value writeDoubleX8OffAddr#
- value indexInt8ArrayAsInt8X16#
- value indexInt16ArrayAsInt16X8#
- value indexInt32ArrayAsInt32X4#
- value indexInt64ArrayAsInt64X2#
- value indexInt8ArrayAsInt8X32#
- value indexInt16ArrayAsInt16X16#
- value indexInt32ArrayAsInt32X8#
- value indexInt64ArrayAsInt64X4#
- value indexInt8ArrayAsInt8X64#
- value indexInt16ArrayAsInt16X32#
- value indexInt32ArrayAsInt32X16#
- value indexInt64ArrayAsInt64X8#
- value indexWord8ArrayAsWord8X16#
- value indexWord16ArrayAsWord16X8#
- value indexWord32ArrayAsWord32X4#
- value indexWord64ArrayAsWord64X2#
- value indexWord8ArrayAsWord8X32#
- value indexWord16ArrayAsWord16X16#
- value indexWord32ArrayAsWord32X8#
- value indexWord64ArrayAsWord64X4#
- value indexWord8ArrayAsWord8X64#
- value indexWord16ArrayAsWord16X32#
- value indexWord32ArrayAsWord32X16#
- value indexWord64ArrayAsWord64X8#
- value indexFloatArrayAsFloatX4#
- value indexDoubleArrayAsDoubleX2#
- value indexFloatArrayAsFloatX8#
- value indexDoubleArrayAsDoubleX4#
- value indexFloatArrayAsFloatX16#
- value indexDoubleArrayAsDoubleX8#
- value readInt8ArrayAsInt8X16#
- value readInt16ArrayAsInt16X8#
- value readInt32ArrayAsInt32X4#
- value readInt64ArrayAsInt64X2#
- value readInt8ArrayAsInt8X32#
- value readInt16ArrayAsInt16X16#
- value readInt32ArrayAsInt32X8#
- value readInt64ArrayAsInt64X4#
- value readInt8ArrayAsInt8X64#
- value readInt16ArrayAsInt16X32#
- value readInt32ArrayAsInt32X16#
- value readInt64ArrayAsInt64X8#
- value readWord8ArrayAsWord8X16#
- value readWord16ArrayAsWord16X8#
- value readWord32ArrayAsWord32X4#
- value readWord64ArrayAsWord64X2#
- value readWord8ArrayAsWord8X32#
- value readWord16ArrayAsWord16X16#
- value readWord32ArrayAsWord32X8#
- value readWord64ArrayAsWord64X4#
- value readWord8ArrayAsWord8X64#
- value readWord16ArrayAsWord16X32#
- value readWord32ArrayAsWord32X16#
- value readWord64ArrayAsWord64X8#
- value readFloatArrayAsFloatX4#
- value readDoubleArrayAsDoubleX2#
- value readFloatArrayAsFloatX8#
- value readDoubleArrayAsDoubleX4#
- value readFloatArrayAsFloatX16#
- value readDoubleArrayAsDoubleX8#
- value writeInt8ArrayAsInt8X16#
- value writeInt16ArrayAsInt16X8#
- value writeInt32ArrayAsInt32X4#
- value writeInt64ArrayAsInt64X2#
- value writeInt8ArrayAsInt8X32#
- value writeInt16ArrayAsInt16X16#
- value writeInt32ArrayAsInt32X8#
- value writeInt64ArrayAsInt64X4#
- value writeInt8ArrayAsInt8X64#
- value writeInt16ArrayAsInt16X32#
- value writeInt32ArrayAsInt32X16#
- value writeInt64ArrayAsInt64X8#
- value writeWord8ArrayAsWord8X16#
- value writeWord16ArrayAsWord16X8#
- value writeWord32ArrayAsWord32X4#
- value writeWord64ArrayAsWord64X2#
- value writeWord8ArrayAsWord8X32#
- value writeWord16ArrayAsWord16X16#
- value writeWord32ArrayAsWord32X8#
- value writeWord64ArrayAsWord64X4#
- value writeWord8ArrayAsWord8X64#
- value writeWord16ArrayAsWord16X32#
- value writeWord32ArrayAsWord32X16#
- value writeWord64ArrayAsWord64X8#
- value writeFloatArrayAsFloatX4#
- value writeDoubleArrayAsDoubleX2#
- value writeFloatArrayAsFloatX8#
- value writeDoubleArrayAsDoubleX4#
- value writeFloatArrayAsFloatX16#
- value writeDoubleArrayAsDoubleX8#
- value indexInt8OffAddrAsInt8X16#
- value indexInt16OffAddrAsInt16X8#
- value indexInt32OffAddrAsInt32X4#
- value indexInt64OffAddrAsInt64X2#
- value indexInt8OffAddrAsInt8X32#
- value indexInt16OffAddrAsInt16X16#
- value indexInt32OffAddrAsInt32X8#
- value indexInt64OffAddrAsInt64X4#
- value indexInt8OffAddrAsInt8X64#
- value indexInt16OffAddrAsInt16X32#
- value indexInt32OffAddrAsInt32X16#
- value indexInt64OffAddrAsInt64X8#
- value indexWord8OffAddrAsWord8X16#
- value indexWord16OffAddrAsWord16X8#
- value indexWord32OffAddrAsWord32X4#
- value indexWord64OffAddrAsWord64X2#
- value indexWord8OffAddrAsWord8X32#
- value indexWord16OffAddrAsWord16X16#
- value indexWord32OffAddrAsWord32X8#
- value indexWord64OffAddrAsWord64X4#
- value indexWord8OffAddrAsWord8X64#
- value indexWord16OffAddrAsWord16X32#
- value indexWord32OffAddrAsWord32X16#
- value indexWord64OffAddrAsWord64X8#
- value indexFloatOffAddrAsFloatX4#
- value indexDoubleOffAddrAsDoubleX2#
- value indexFloatOffAddrAsFloatX8#
- value indexDoubleOffAddrAsDoubleX4#
- value indexFloatOffAddrAsFloatX16#
- value indexDoubleOffAddrAsDoubleX8#
- value readInt8OffAddrAsInt8X16#
- value readInt16OffAddrAsInt16X8#
- value readInt32OffAddrAsInt32X4#
- value readInt64OffAddrAsInt64X2#
- value readInt8OffAddrAsInt8X32#
- value readInt16OffAddrAsInt16X16#
- value readInt32OffAddrAsInt32X8#
- value readInt64OffAddrAsInt64X4#
- value readInt8OffAddrAsInt8X64#
- value readInt16OffAddrAsInt16X32#
- value readInt32OffAddrAsInt32X16#
- value readInt64OffAddrAsInt64X8#
- value readWord8OffAddrAsWord8X16#
- value readWord16OffAddrAsWord16X8#
- value readWord32OffAddrAsWord32X4#
- value readWord64OffAddrAsWord64X2#
- value readWord8OffAddrAsWord8X32#
- value readWord16OffAddrAsWord16X16#
- value readWord32OffAddrAsWord32X8#
- value readWord64OffAddrAsWord64X4#
- value readWord8OffAddrAsWord8X64#
- value readWord16OffAddrAsWord16X32#
- value readWord32OffAddrAsWord32X16#
- value readWord64OffAddrAsWord64X8#
- value readFloatOffAddrAsFloatX4#
- value readDoubleOffAddrAsDoubleX2#
- value readFloatOffAddrAsFloatX8#
- value readDoubleOffAddrAsDoubleX4#
- value readFloatOffAddrAsFloatX16#
- value readDoubleOffAddrAsDoubleX8#
- value writeInt8OffAddrAsInt8X16#
- value writeInt16OffAddrAsInt16X8#
- value writeInt32OffAddrAsInt32X4#
- value writeInt64OffAddrAsInt64X2#
- value writeInt8OffAddrAsInt8X32#
- value writeInt16OffAddrAsInt16X16#
- value writeInt32OffAddrAsInt32X8#
- value writeInt64OffAddrAsInt64X4#
- value writeInt8OffAddrAsInt8X64#
- value writeInt16OffAddrAsInt16X32#
- value writeInt32OffAddrAsInt32X16#
- value writeInt64OffAddrAsInt64X8#
- value writeWord8OffAddrAsWord8X16#
- value writeWord16OffAddrAsWord16X8#
- value writeWord32OffAddrAsWord32X4#
- value writeWord64OffAddrAsWord64X2#
- value writeWord8OffAddrAsWord8X32#
- value writeWord16OffAddrAsWord16X16#
- value writeWord32OffAddrAsWord32X8#
- value writeWord64OffAddrAsWord64X4#
- value writeWord8OffAddrAsWord8X64#
- value writeWord16OffAddrAsWord16X32#
- value writeWord32OffAddrAsWord32X16#
- value writeWord64OffAddrAsWord64X8#
- value writeFloatOffAddrAsFloatX4#
- value writeDoubleOffAddrAsDoubleX2#
- value writeFloatOffAddrAsFloatX8#
- value writeDoubleOffAddrAsDoubleX4#
- value writeFloatOffAddrAsFloatX16#
- value writeDoubleOffAddrAsDoubleX8#
- value fmaddFloatX4#
- value fmaddDoubleX2#
- value fmaddFloatX8#
- value fmaddDoubleX4#
- value fmaddFloatX16#
- value fmaddDoubleX8#
- value fmsubFloatX4#
- value fmsubDoubleX2#
- value fmsubFloatX8#
- value fmsubDoubleX4#
- value fmsubFloatX16#
- value fmsubDoubleX8#
- value fnmaddFloatX4#
- value fnmaddDoubleX2#
- value fnmaddFloatX8#
- value fnmaddDoubleX4#
- value fnmaddFloatX16#
- value fnmaddDoubleX8#
- value fnmsubFloatX4#
- value fnmsubDoubleX2#
- value fnmsubFloatX8#
- value fnmsubDoubleX4#
- value fnmsubFloatX16#
- value fnmsubDoubleX8#
- value shuffleInt8X16#
- value shuffleInt16X8#
- value shuffleInt32X4#
- value shuffleInt64X2#
- value shuffleInt8X32#
- value shuffleInt16X16#
- value shuffleInt32X8#
- value shuffleInt64X4#
- value shuffleInt8X64#
- value shuffleInt16X32#
- value shuffleInt32X16#
- value shuffleInt64X8#
- value shuffleWord8X16#
- value shuffleWord16X8#
- value shuffleWord32X4#
- value shuffleWord64X2#
- value shuffleWord8X32#
- value shuffleWord16X16#
- value shuffleWord32X8#
- value shuffleWord64X4#
- value shuffleWord8X64#
- value shuffleWord16X32#
- value shuffleWord32X16#
- value shuffleWord64X8#
- value shuffleFloatX4#
- value shuffleDoubleX2#
- value shuffleFloatX8#
- value shuffleDoubleX4#
- value shuffleFloatX16#
- value shuffleDoubleX8#
- value minInt8X16#
- value minInt16X8#
- value minInt32X4#
- value minInt64X2#
- value minInt8X32#
- value minInt16X16#
- value minInt32X8#
- value minInt64X4#
- value minInt8X64#
- value minInt16X32#
- value minInt32X16#
- value minInt64X8#
- value minWord8X16#
- value minWord16X8#
- value minWord32X4#
- value minWord64X2#
- value minWord8X32#
- value minWord16X16#
- value minWord32X8#
- value minWord64X4#
- value minWord8X64#
- value minWord16X32#
- value minWord32X16#
- value minWord64X8#
- value minFloatX4#
- value minDoubleX2#
- value minFloatX8#
- value minDoubleX4#
- value minFloatX16#
- value minDoubleX8#
- value maxInt8X16#
- value maxInt16X8#
- value maxInt32X4#
- value maxInt64X2#
- value maxInt8X32#
- value maxInt16X16#
- value maxInt32X8#
- value maxInt64X4#
- value maxInt8X64#
- value maxInt16X32#
- value maxInt32X16#
- value maxInt64X8#
- value maxWord8X16#
- value maxWord16X8#
- value maxWord32X4#
- value maxWord64X2#
- value maxWord8X32#
- value maxWord16X16#
- value maxWord32X8#
- value maxWord64X4#
- value maxWord8X64#
- value maxWord16X32#
- value maxWord32X16#
- value maxWord64X8#
- value maxFloatX4#
- value maxDoubleX2#
- value maxFloatX8#
- value maxDoubleX4#
- value maxFloatX16#
- value maxDoubleX8#
- value andInt8X16#
- value andInt16X8#
- value andInt32X4#
- value andInt64X2#
- value andInt8X32#
- value andInt16X16#
- value andInt32X8#
- value andInt64X4#
- value andInt8X64#
- value andInt16X32#
- value andInt32X16#
- value andInt64X8#
- value andWord8X16#
- value andWord16X8#
- value andWord32X4#
- value andWord64X2#
- value andWord8X32#
- value andWord16X16#
- value andWord32X8#
- value andWord64X4#
- value andWord8X64#
- value andWord16X32#
- value andWord32X16#
- value andWord64X8#
- value andFloatX4#
- value andDoubleX2#
- value andFloatX8#
- value andDoubleX4#
- value andFloatX16#
- value andDoubleX8#
- value orInt8X16#
- value orInt16X8#
- value orInt32X4#
- value orInt64X2#
- value orInt8X32#
- value orInt16X16#
- value orInt32X8#
- value orInt64X4#
- value orInt8X64#
- value orInt16X32#
- value orInt32X16#
- value orInt64X8#
- value orWord8X16#
- value orWord16X8#
- value orWord32X4#
- value orWord64X2#
- value orWord8X32#
- value orWord16X16#
- value orWord32X8#
- value orWord64X4#
- value orWord8X64#
- value orWord16X32#
- value orWord32X16#
- value orWord64X8#
- value orFloatX4#
- value orDoubleX2#
- value orFloatX8#
- value orDoubleX4#
- value orFloatX16#
- value orDoubleX8#
- value xorInt8X16#
- value xorInt16X8#
- value xorInt32X4#
- value xorInt64X2#
- value xorInt8X32#
- value xorInt16X16#
- value xorInt32X8#
- value xorInt64X4#
- value xorInt8X64#
- value xorInt16X32#
- value xorInt32X16#
- value xorInt64X8#
- value xorWord8X16#
- value xorWord16X8#
- value xorWord32X4#
- value xorWord64X2#
- value xorWord8X32#
- value xorWord16X16#
- value xorWord32X8#
- value xorWord64X4#
- value xorWord8X64#
- value xorWord16X32#
- value xorWord32X16#
- value xorWord64X8#
- value xorFloatX4#
- value xorDoubleX2#
- value xorFloatX8#
- value xorDoubleX4#
- value xorFloatX16#
- value xorDoubleX8#
- value prefetchByteArray3#
- value prefetchMutableByteArray3#
- value prefetchAddr3#
- value prefetchValue3#
- value prefetchByteArray2#
- value prefetchMutableByteArray2#
- value prefetchAddr2#
- value prefetchValue2#
- value prefetchByteArray1#
- value prefetchMutableByteArray1#
- value prefetchAddr1#
- value prefetchValue1#
- value prefetchByteArray0#
- value prefetchMutableByteArray0#
- value prefetchAddr0#
- value prefetchValue0#
- Packageghc-internal-10.0.0
- Exports1677
- LicenceBSD-3-Clause
The word size story.
Haskell98 specifies that signed integers (type Int)
must contain at least 30 bits. GHC always implements
Int using the primitive type Int#, whose size equals
the MachDeps.h constant WORD_SIZE_IN_BITS.
This is normally set based on the RTS ghcautoconf.h parameter
SIZEOF_HSWORD, i.e., 32 bits on 32-bit machines, 64
bits on 64-bit machines.
GHC also implements a primitive unsigned integer type
Word# which always has the same number of bits as Int#.
In addition, GHC supports families of explicit-sized integers and words at 8, 16, 32, and 64 bits, with the usual arithmetic operations, comparisons, and a range of conversions.
Finally, there are strongly deprecated primops for coercing
between Addr#, the primitive type of machine
addresses, and Int#. These are pretty bogus anyway,
but will work on existing 32-bit and 64-bit GHC targets; they
are completely bogus when tag bits are used in Int#,
so are not available in this case.
Char#
Operations on 31-bit characters.
Int8#
Operations on 8-bit integers.
Word8#
Operations on 8-bit unsigned words.
Int16#
Operations on 16-bit integers.
Word16#
Operations on 16-bit unsigned words.
Int32#
Operations on 32-bit integers.
Word32#
Operations on 32-bit unsigned words.
Int64#
Operations on 64-bit signed words.
Word64#
Operations on 64-bit unsigned words.
Int#
Operations on native-size integers (32+ bits).
Low word of signed integer multiply.
Return a triple (isHighNeeded,high,low) where high and low are respectively the high and low bits of the double-word result. isHighNeeded is a cheap way to test if the high word is a sign-extension of the low word (isHighNeeded = 0#) or not (isHighNeeded = 1#).
Return non-zero if there is any possibility that the upper word of a signed integer multiply might contain useful information. Return zero only if you are completely sure that no overflow can occur. On a 32-bit platform, the recommended implementation is to do a 32 x 32 -> 64 signed multiply, and subtract result[63:32] from (result[31] >>signed 31). If this is zero, meaning that the upper word is merely a sign extension of the lower one, no overflow can occur.
On a 64-bit platform it is not always possible to acquire the top 64 bits of the result. Therefore, a recommended implementation is to take the absolute value of both operands, and return 0 iff bits[63:31] of them are zero, since that means that their magnitudes fit within 31 bits, so the magnitude of the product must fit into 62 bits.
If in doubt, return non-zero, but do make an effort to create the
correct answer for small args, since otherwise the performance of
(*) :: Integer -> Integer -> Integer will be poor.
Rounds towards zero. The behavior is undefined if the second argument is zero.
Satisfies (. The
behavior is undefined if the second argument is zero.quotInt# x y) *# y +# (remInt# x y) == x
Rounds towards zero.
Bitwise "and".
Bitwise "or".
Bitwise "xor".
Bitwise "not", also known as the binary complement.
Unary negation.
Since the negative Int# range extends one further than the
positive range, negateInt# of the most negative number is an
identity operation. This way, negateInt# is always its own inverse.
Add signed integers reporting overflow.
First member of result is the sum truncated to an Int#;
second member is zero if the true sum fits in an Int#,
nonzero if overflow occurred (the sum is either too large
or too small to fit in an Int#).
Subtract signed integers reporting overflow.
First member of result is the difference truncated to an Int#;
second member is zero if the true difference fits in an Int#,
nonzero if overflow occurred (the difference is either too large
or too small to fit in an Int#).
Convert an Int# to the corresponding Float# with the same
integral value (up to truncation due to floating-point precision). e.g.
int2Float# 1# == 1.0#
Convert an Int# to the corresponding Double# with the same
integral value (up to truncation due to floating-point precision). e.g.
int2Double# 1# == 1.0##
Convert an Word# to the corresponding Float# with the same
integral value (up to truncation due to floating-point precision). e.g.
word2Float# 1## == 1.0#
Convert an Word# to the corresponding Double# with the same
integral value (up to truncation due to floating-point precision). e.g.
word2Double# 1## == 1.0##
Shift left. Result undefined if shift amount is not in the range 0 to word size - 1 inclusive.
Shift right arithmetic. Result undefined if shift amount is not in the range 0 to word size - 1 inclusive.
Shift right logical. Result undefined if shift amount is not in the range 0 to word size - 1 inclusive.
Word#
Operations on native-sized unsigned words (32+ bits).
Add unsigned integers reporting overflow.
The first element of the pair is the result. The second element is
the carry flag, which is nonzero on overflow. See also plusWord2#.
Subtract unsigned integers reporting overflow. The first element of the pair is the result. The second element is the carry flag, which is nonzero on overflow.
Add unsigned integers, with the high part (carry) in the first
component of the returned pair and the low part in the second
component of the pair. See also addWordC#.
Takes high word of dividend, then low word of dividend, then divisor. Requires that high word < divisor.
Shift left logical. Result undefined if shift amount is not in the range 0 to word size - 1 inclusive.
Shift right logical. Result undefined if shift amount is not in the range 0 to word size - 1 inclusive.
Count the number of set bits in the lower 8 bits of a word.
Count the number of set bits in the lower 16 bits of a word.
Count the number of set bits in the lower 32 bits of a word.
Count the number of set bits in a 64-bit word.
Count the number of set bits in a word.
Deposit bits to lower 8 bits of a word at locations specified by a mask.
Deposit bits to lower 16 bits of a word at locations specified by a mask.
Deposit bits to lower 32 bits of a word at locations specified by a mask.
Deposit bits to a word at locations specified by a mask.
Deposit bits to a word at locations specified by a mask, aka parallel bit deposit.
Software emulation:
pdep :: Word -> Word -> Word
pdep src mask = go 0 src mask
where
go :: Word -> Word -> Word -> Word
go result _ 0 = result
go result src mask = go newResult newSrc newMask
where
maskCtz = countTrailingZeros mask
newResult = if testBit src 0 then setBit result maskCtz else result
newSrc = src `shiftR` 1
newMask = clearBit mask maskCtzExtract bits from lower 8 bits of a word at locations specified by a mask.
Extract bits from lower 16 bits of a word at locations specified by a mask.
Extract bits from lower 32 bits of a word at locations specified by a mask.
Extract bits from a word at locations specified by a mask.
Extract bits from a word at locations specified by a mask, aka parallel bit extract.
Software emulation:
pext :: Word -> Word -> Word
pext src mask = loop 0 0 0
where
loop i count result
| i >= finiteBitSize (0 :: Word)
= result
| testBit mask i
= loop (i + 1) (count + 1) (if testBit src i then setBit result count else result)
| otherwise
= loop (i + 1) count resultCount leading zeros in the lower 8 bits of a word.
Count leading zeros in the lower 16 bits of a word.
Count leading zeros in the lower 32 bits of a word.
Count leading zeros in a 64-bit word.
Count leading zeros in a word.
Count trailing zeros in the lower 8 bits of a word.
Count trailing zeros in the lower 16 bits of a word.
Count trailing zeros in the lower 32 bits of a word.
Count trailing zeros in a 64-bit word.
Count trailing zeros in a word.
Swap bytes in the lower 16 bits of a word. The higher bytes are undefined.
Swap bytes in the lower 32 bits of a word. The higher bytes are undefined.
Swap bytes in a 64 bits of a word.
Swap bytes in a word.
Reverse the order of the bits in a 8-bit word.
Reverse the order of the bits in a 16-bit word.
Reverse the order of the bits in a 32-bit word.
Reverse the order of the bits in a 64-bit word.
Reverse the order of the bits in a word.
Narrowings
Explicit narrowing of native-sized ints or words.
Double#
Operations on double-precision (64 bit) floating-point numbers.
Return the minimum of the arguments.
When the arguments are numerically equal (e.g. 0.0## and -0.0##)
or one of the arguments is not-a-number (NaN),
it is unspecified which one is returned.
Return the maximum of the arguments.
When the arguments are numerically equal (e.g. 0.0## and -0.0##)
or one of the arguments is not-a-number (NaN),
it is unspecified which one is returned.
Truncates a Double# value to the nearest Int#.
Results are undefined if the truncation if truncation yields
a value outside the range of Int#.
Exponentiation.
Convert to integer. First component of the result is -1 or 1, indicating the sign of the mantissa. The next two are the high and low 32 bits of the mantissa respectively, and the last is the exponent.
Decode Double# into mantissa and base-2 exponent.
Bitcast a Double# into a Word64#
Bitcast a Word64# into a Double#
Float#
Operations on single-precision (32-bit) floating-point numbers.
Return the minimum of the arguments.
When the arguments are numerically equal (e.g. 0.0# and -0.0#)
or one of the arguments is not-a-number (NaN),
it is unspecified which one is returned.
Return the maximum of the arguments.
When the arguments are numerically equal (e.g. 0.0# and -0.0#)
or one of the arguments is not-a-number (NaN),
it is unspecified which one is returned.
Truncates a Float# value to the nearest Int#.
Results are undefined if the truncation if truncation yields
a value outside the range of Int#.
Convert to integers.
First Int# in result is the mantissa; second is the exponent.
Bitcast a Float# into a Word32#
Bitcast a Word32# into a Float#
Fused multiply-add operations
The fused multiply-add primops fmaddFloat# and fmaddDouble#
implement the operation
\lambda\ x\ y\ z \rightarrow x * y + z
with a single floating-point rounding operation at the end, as opposed to rounding twice (which can accumulate rounding errors).
These primops can be compiled directly to a single machine instruction on architectures that support them. Currently, these are:
x86 with CPUs that support the FMA3 extended instruction set (which includes most processors since 2013).
PowerPC.
AArch64.
This requires users pass the '-mfma' flag to GHC. Otherwise, the primop is implemented by falling back to the C standard library, which might perform software emulation (this may yield results that are not IEEE compliant on some platforms).
The additional operations fmsubFloat#/fmsubDouble#,
fnmaddFloat#fnmaddDouble# and fnmsubFloat#fnmsubDouble# provide
variants on fmaddFloat#/fmaddDouble# in which some signs are changed:
\begin{aligned}
\mathrm{fmadd}\ x\ y\ z &= \phantom{+} x * y + z \\[8pt]
\mathrm{fmsub}\ x\ y\ z &= \phantom{+} x * y - z \\[8pt]
\mathrm{fnmadd}\ x\ y\ z &= - x * y + z \\[8pt]
\mathrm{fnmsub}\ x\ y\ z &= - x * y - z
\end{aligned}
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Arrays
Operations on Array#.
Create a new mutable array with the specified number of elements, in the specified state thread, with each element containing the specified initial value.
Read from specified index of mutable array. Result is not yet evaluated.
Warning: this can fail with an unchecked exception.
Write to specified index of mutable array.
Warning: this can fail with an unchecked exception.
Return the number of elements in the array.
Return the number of elements in the array.
Read from the specified index of an immutable array. The result is packaged into an unboxed unary tuple; the result itself is not yet evaluated. Pattern matching on the tuple forces the indexing of the array to happen but does not evaluate the element itself. Evaluating the thunk prevents additional thunks from building up on the heap. Avoiding these thunks, in turn, reduces references to the argument array, allowing it to be garbage collected more promptly.
Make a mutable array immutable, without copying.
Make an immutable array mutable, without copying.
Given a source array, an offset into the source array, a destination array, an offset into the destination array, and a number of elements to copy, copy the elements from the source array to the destination array. Both arrays must fully contain the specified ranges, but this is not checked. The two arrays must not be the same array in different states, but this is not checked either.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, a destination array, an offset into the destination array, and a number of elements to copy, copy the elements from the source array to the destination array. Both arrays must fully contain the specified ranges, but this is not checked. In the case where the source and destination are the same array the source and destination regions may overlap.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given an array, an offset, the expected old value, and
the new value, perform an atomic compare and swap (i.e. write the new
value if the current value and the old value are the same pointer).
Returns 0 if the swap succeeds and 1 if it fails. Additionally, returns
the element at the offset after the operation completes. This means that
on a success the new value is returned, and on a failure the actual old
value (not the expected one) is returned. Implies a full memory barrier.
The use of a pointer equality on a boxed value makes this function harder
to use correctly than casIntArray#. All of the difficulties
of using reallyUnsafePtrEquality# correctly apply to
casArray# as well.
Warning: this can fail with an unchecked exception.
Small Arrays
Operations on SmallArray#. A SmallArray# works
just like an Array#, but with different space use and
performance characteristics (that are often useful with small
arrays). The SmallArray# and SmallMutableArray#
lack a `card table'. The purpose of a card table is to avoid
having to scan every element of the array on each GC by
keeping track of which elements have changed since the last GC
and only scanning those that have changed. So the consequence
of there being no card table is that the representation is
somewhat smaller and the writes are somewhat faster (because
the card table does not need to be updated). The disadvantage
of course is that for a SmallMutableArray# the whole
array has to be scanned on each GC. Thus it is best suited for
use cases where the mutable array is not long lived, e.g.
where a mutable array is initialised quickly and then frozen
to become an immutable SmallArray#.
Create a new mutable array with the specified number of elements, in the specified state thread, with each element containing the specified initial value.
Shrink mutable array to new specified size, in
the specified state thread. The new size argument must be less than or
equal to the current size as reported by getSizeofSmallMutableArray#.
Assuming the non-profiling RTS, for the copying garbage collector (default) this primitive compiles to an O(1) operation in C--, modifying the array in-place. For the non-moving garbage collector, however, the time is proportional to the number of elements shrinked out. Backends bypassing C-- representation (such as JavaScript) might behave differently.
Warning: this can fail with an unchecked exception.
Read from specified index of mutable array. Result is not yet evaluated.
Warning: this can fail with an unchecked exception.
Write to specified index of mutable array.
Warning: this can fail with an unchecked exception.
Return the number of elements in the array.
Return the number of elements in the array. Deprecated, it is
unsafe in the presence of shrinkSmallMutableArray# and resizeSmallMutableArray#
operations on the same small mutable array.
Return the number of elements in the array, correctly accounting for
the effect of shrinkSmallMutableArray# and resizeSmallMutableArray#.
Read from specified index of immutable array. Result is packaged into an unboxed singleton; the result itself is not yet evaluated.
Make a mutable array immutable, without copying.
Make an immutable array mutable, without copying.
Given a source array, an offset into the source array, a destination array, an offset into the destination array, and a number of elements to copy, copy the elements from the source array to the destination array. Both arrays must fully contain the specified ranges, but this is not checked. The two arrays must not be the same array in different states, but this is not checked either.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, a destination array, an offset into the destination array, and a number of elements to copy, copy the elements from the source array to the destination array. The source and destination arrays can refer to the same array. Both arrays must fully contain the specified ranges, but this is not checked. The regions are allowed to overlap, although this is only possible when the same array is provided as both the source and the destination.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Given a source array, an offset into the source array, and a number of elements to copy, create a new array with the elements from the source array. The provided array must fully contain the specified range, but this is not checked.
Warning: this can fail with an unchecked exception.
Unsafe, machine-level atomic compare and swap on an element within an array.
See the documentation of casArray#.
Warning: this can fail with an unchecked exception.
Byte Arrays
A ByteArray# is a region of
raw memory in the garbage-collected heap, which is not
scanned for pointers.
There are three sets of operations for accessing byte array contents:
index for reading from immutable byte arrays, and read/write
for mutable byte arrays. Each set contains operations for a
range of useful primitive data types. Each operation takes
an offset measured in terms of the size of the primitive type
being read or written.
A boxed, unlifted datatype representing a region of raw memory in the garbage-collected heap, which is not scanned for pointers during garbage collection.
It is created by freezing a MutableByteArray# with unsafeFreezeByteArray#.
Freezing is essentially a no-op, as MutableByteArray# and ByteArray# share the same heap structure under the hood.
The immutable and mutable variants are commonly used for scenarios requiring high-performance data structures,
like Text, Primitive Vector, Unboxed Array, and ShortByteString.
Another application of fundamental importance is Integer, which is backed by ByteArray#.
The representation on the heap of a Byte Array is:
+------------+-----------------+-----------------------+
| | | |
| HEADER | SIZE (in bytes) | PAYLOAD |
| | | |
+------------+-----------------+-----------------------+To obtain a pointer to actual payload (e.g., for FFI purposes) use byteArrayContents# or mutableByteArrayContents#.
Alternatively, enabling the UnliftedFFITypes extension
allows to mention ByteArray# and MutableByteArray# in FFI type signatures directly.
A mutable ByteAray#. It can be created in three ways:
newByteArray#: Create an unpinned array.newPinnedByteArray#: This will create a pinned array,newAlignedPinnedByteArray#: This will create a pinned array, with a custom alignment.
Unpinned arrays can be moved around during garbage collection, so you must not store or pass pointers to these values if there is a chance for the garbage collector to kick in. That said, even unpinned arrays can be passed to unsafe FFI calls, because no garbage collection happens during these unsafe calls (see Guaranteed Call Safety in the GHC Manual). For safe FFI calls, byte arrays must be not only pinned, but also kept alive by means of the keepAlive# function for the duration of a call (that's because garbage collection cannot move a pinned array, but is free to scrap it altogether).
Create a new mutable byte array of specified size (in bytes), in the specified state thread. The size of the memory underlying the array will be rounded up to the platform's word size.
Like newByteArray# but GC guarantees not to move it.
Like newPinnedByteArray# but allow specifying an arbitrary
alignment, which must be a power of two.
Warning: this can fail with an unchecked exception.
Determine whether a MutableByteArray# is guaranteed not to move
during GC.
Determine whether a ByteArray# is guaranteed not to move.
Similar to isByteArrayPinned#. Weakly pinned byte arrays are allowed
to be copied into compact regions by the user, potentially invalidating
the results of earlier calls to byteArrayContents#.
See the section `Pinned Byte Arrays` in the user guide for more information.
This function also returns true for regular pinned bytearrays.
isByteArrayWeaklyPinned# but for mutable arrays.
Intended for use with pinned arrays; otherwise very unsafe!
Intended for use with pinned arrays; otherwise very unsafe!
Shrink mutable byte array to new specified size (in bytes), in
the specified state thread. The new size argument must be less than or
equal to the current size as reported by getSizeofMutableByteArray#.
Assuming the non-profiling RTS, this primitive compiles to an O(1) operation in C--, modifying the array in-place. Backends bypassing C-- representation (such as JavaScript) might behave differently.
Warning: this can fail with an unchecked exception.
Resize mutable byte array to new specified size (in bytes), shrinking or growing it.
The returned MutableByteArray# is either the original
MutableByteArray# resized in-place or, if not possible, a newly
allocated (unpinned) MutableByteArray# (with the original content
copied over).
To avoid undefined behaviour, the original MutableByteArray# shall
not be accessed anymore after a resizeMutableByteArray# has been
performed. Moreover, no reference to the old one should be kept in order
to allow garbage collection of the original MutableByteArray# in
case a new MutableByteArray# had to be allocated.
Make a mutable byte array immutable, without copying.
Make an immutable byte array mutable, without copying.
Return the size of the array in bytes.
Return the size of the array in bytes. Deprecated, it is
unsafe in the presence of shrinkMutableByteArray# and resizeMutableByteArray#
operations on the same mutable byte
array.
Return the number of elements in the array, correctly accounting for
the effect of shrinkMutableByteArray# and resizeMutableByteArray#.
Read an 8-bit character from immutable array; offset in bytes.
Read a 32-bit character from immutable array; offset in 4-byte words.
Read a word-sized integer from immutable array; offset in machine words.
Read a word-sized unsigned integer from immutable array; offset in machine words.
Read a machine address from immutable array; offset in machine words.
Read a single-precision floating-point value from immutable array; offset in 4-byte words.
Read a double-precision floating-point value from immutable array; offset in 8-byte words.
Read a StablePtr# value from immutable array; offset in machine words.
Read an 8-bit signed integer from immutable array; offset in bytes.
Read an 8-bit unsigned integer from immutable array; offset in bytes.
Read a 16-bit signed integer from immutable array; offset in 2-byte words.
Read a 16-bit unsigned integer from immutable array; offset in 2-byte words.
Read a 32-bit signed integer from immutable array; offset in 4-byte words.
Read a 32-bit unsigned integer from immutable array; offset in 4-byte words.
Read a 64-bit signed integer from immutable array; offset in 8-byte words.
Read a 64-bit unsigned integer from immutable array; offset in 8-byte words.
Read an 8-bit character from immutable array; offset in bytes.
Read a 32-bit character from immutable array; offset in bytes.
Read a word-sized integer from immutable array; offset in bytes.
Read a word-sized unsigned integer from immutable array; offset in bytes.
Read a machine address from immutable array; offset in bytes.
Read a single-precision floating-point value from immutable array; offset in bytes.
Read a double-precision floating-point value from immutable array; offset in bytes.
Read a StablePtr# value from immutable array; offset in bytes.
Read a 16-bit signed integer from immutable array; offset in bytes.
Read a 16-bit unsigned integer from immutable array; offset in bytes.
Read a 32-bit signed integer from immutable array; offset in bytes.
Read a 32-bit unsigned integer from immutable array; offset in bytes.
Read a 64-bit signed integer from immutable array; offset in bytes.
Read a 64-bit unsigned integer from immutable array; offset in bytes.
Read an 8-bit character from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit character from mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Read a word-sized integer from mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Read a word-sized unsigned integer from mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Read a machine address from mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Read a single-precision floating-point value from mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Read a double-precision floating-point value from mutable array; offset in 8-byte words.
Warning: this can fail with an unchecked exception.
Read a StablePtr# value from mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Read an 8-bit signed integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read an 8-bit unsigned integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 16-bit signed integer from mutable array; offset in 2-byte words.
Warning: this can fail with an unchecked exception.
Read a 16-bit unsigned integer from mutable array; offset in 2-byte words.
Warning: this can fail with an unchecked exception.
Read a 32-bit signed integer from mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Read a 32-bit unsigned integer from mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Read a 64-bit signed integer from mutable array; offset in 8-byte words.
Warning: this can fail with an unchecked exception.
Read a 64-bit unsigned integer from mutable array; offset in 8-byte words.
Warning: this can fail with an unchecked exception.
Read an 8-bit character from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit character from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a word-sized integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a word-sized unsigned integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a machine address from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a single-precision floating-point value from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a double-precision floating-point value from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a StablePtr# value from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 16-bit signed integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 16-bit unsigned integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit signed integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit unsigned integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 64-bit signed integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 64-bit unsigned integer from mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write an 8-bit character to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit character to mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Write a word-sized integer to mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Write a word-sized unsigned integer to mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Write a machine address to mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Write a single-precision floating-point value to mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Write a double-precision floating-point value to mutable array; offset in 8-byte words.
Warning: this can fail with an unchecked exception.
Write a StablePtr# value to mutable array; offset in machine words.
Warning: this can fail with an unchecked exception.
Write an 8-bit signed integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write an 8-bit unsigned integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 16-bit signed integer to mutable array; offset in 2-byte words.
Warning: this can fail with an unchecked exception.
Write a 16-bit unsigned integer to mutable array; offset in 2-byte words.
Warning: this can fail with an unchecked exception.
Write a 32-bit signed integer to mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Write a 32-bit unsigned integer to mutable array; offset in 4-byte words.
Warning: this can fail with an unchecked exception.
Write a 64-bit signed integer to mutable array; offset in 8-byte words.
Warning: this can fail with an unchecked exception.
Write a 64-bit unsigned integer to mutable array; offset in 8-byte words.
Warning: this can fail with an unchecked exception.
Write an 8-bit character to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit character to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a word-sized integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a word-sized unsigned integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a machine address to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a single-precision floating-point value to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a double-precision floating-point value to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a StablePtr# value to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 16-bit signed integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 16-bit unsigned integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit signed integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit unsigned integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 64-bit signed integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 64-bit unsigned integer to mutable array; offset in bytes.
Warning: this can fail with an unchecked exception.
compares
compareByteArrays# src1 src1_ofs src2 src2_ofs nn bytes starting at offset src1_ofs in the first
ByteArray# src1 to the range of n bytes
(i.e. same length) starting at offset src2_ofs of the second
ByteArray# src2. Both arrays must fully contain the
specified ranges, but this is not checked. Returns an Int#
less than, equal to, or greater than zero if the range is found,
respectively, to be byte-wise lexicographically less than, to
match, or be greater than the second range.
copies the range
starting at offset copyByteArray# src src_ofs dst dst_ofs lensrc_ofs of length len from the
ByteArray# src to the MutableByteArray# dst
starting at offset dst_ofs. Both arrays must fully contain
the specified ranges, but this is not checked. The two arrays must
not be the same array in different states, but this is not checked
either.
Warning: this can fail with an unchecked exception.
copies the
range starting at offset copyMutableByteArray# src src_ofs dst dst_ofs lensrc_ofs of length len from the
MutableByteArray# src to the MutableByteArray# dst
starting at offset dst_ofs. Both arrays must fully contain the
specified ranges, but this is not checked. The regions are
allowed to overlap, although this is only possible when the same
array is provided as both the source and the destination.
Warning: this can fail with an unchecked exception.
copies the range starting at offset copyMutableByteArrayNonOverlapping# src src_ofs dst dst_ofs lensrc_ofs of length len from
the MutableByteArray# src to the MutableByteArray# dst
starting at offset dst_ofs. Both arrays must fully contain the
specified ranges, but this is not checked. The regions are not
allowed to overlap, but this is also not checked.
Warning: this can fail with an unchecked exception.
Copy a range of the ByteArray# to the memory range starting at the Addr#. The ByteArray# and the memory region at Addr# must fully contain the specified ranges, but this is not checked. The Addr# must not point into the ByteArray# (e.g. if the ByteArray# were pinned), but this is not checked either.
Warning: this can fail with an unchecked exception.
Copy a range of the MutableByteArray# to the memory range starting at the Addr#. The MutableByteArray# and the memory region at Addr# must fully contain the specified ranges, but this is not checked. The Addr# must not point into the MutableByteArray# (e.g. if the MutableByteArray# were pinned), but this is not checked either.
Warning: this can fail with an unchecked exception.
Copy a memory range starting at the Addr# to the specified range in the MutableByteArray#. The memory region at Addr# and the ByteArray# must fully contain the specified ranges, but this is not checked. The Addr# must not point into the MutableByteArray# (e.g. if the MutableByteArray# were pinned), but this is not checked either.
Warning: this can fail with an unchecked exception.
copies copyAddrToAddr# src dest lenlen bytes
from src to dest. These two memory ranges are allowed to overlap.
Analogous to the standard C function memmove, but with a different
argument order.
Warning: this can fail with an unchecked exception.
copies copyAddrToAddrNonOverlapping# src dest lenlen bytes
from src to dest. As the name suggests, these two memory ranges
must not overlap, although this pre-condition is not checked.
Analogous to the standard C function memcpy, but with a different
argument order.
Warning: this can fail with an unchecked exception.
sets the byte range setByteArray# ba off len c[off, off+len) of
the MutableByteArray# to the byte c.
Warning: this can fail with an unchecked exception.
sets all of the bytes in
setAddrRange# dest len c[dest, dest+len) to the value c.
Analogous to the standard C function memset, but with a different
argument order.
Warning: this can fail with an unchecked exception.
Given an array and an offset in machine words, read an element. The index is assumed to be in bounds. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array and an offset in machine words, write an element. The index is assumed to be in bounds. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, an offset in machine words, the expected old value, and the new value, perform an atomic compare and swap i.e. write the new value if the current value matches the provided old value. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, an offset in bytes, the expected old value, and the new value, perform an atomic compare and swap i.e. write the new value if the current value matches the provided old value. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, an offset in 16 bit units, the expected old value, and the new value, perform an atomic compare and swap i.e. write the new value if the current value matches the provided old value. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, an offset in 32 bit units, the expected old value, and the new value, perform an atomic compare and swap i.e. write the new value if the current value matches the provided old value. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, an offset in 64 bit units, the expected old value, and the new value, perform an atomic compare and swap i.e. write the new value if the current value matches the provided old value. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, and offset in machine words, and a value to add, atomically add the value to the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, and offset in machine words, and a value to subtract, atomically subtract the value from the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, and offset in machine words, and a value to AND, atomically AND the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, and offset in machine words, and a value to NAND, atomically NAND the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, and offset in machine words, and a value to OR, atomically OR the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an array, and offset in machine words, and a value to XOR, atomically XOR the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Addr#
An arbitrary machine address assumed to point outside the garbage-collected heap.
The null address.
Result is meaningless if two Addr#s are so far apart that their
difference doesn't fit in an Int#.
Return the remainder when the Addr# arg, treated like an Int#,
is divided by the Int# arg.
Coerce directly from address to int. Users are discouraged from using this operation as it makes little sense on platforms with tagged pointers.
Coerce directly from int to address. Users are discouraged from using this operation as it makes little sense on platforms with tagged pointers.
Read an 8-bit character from immutable address; offset in bytes.
Read a 32-bit character from immutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a word-sized integer from immutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a word-sized unsigned integer from immutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a machine address from immutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a single-precision floating-point value from immutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a double-precision floating-point value from immutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a StablePtr# value from immutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read an 8-bit signed integer from immutable address; offset in bytes.
Read an 8-bit unsigned integer from immutable address; offset in bytes.
Read a 16-bit signed integer from immutable address; offset in 2-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a 16-bit unsigned integer from immutable address; offset in 2-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a 32-bit signed integer from immutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a 32-bit unsigned integer from immutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a 64-bit signed integer from immutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read a 64-bit unsigned integer from immutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Read an 8-bit character from immutable address; offset in bytes.
Read a 32-bit character from immutable address; offset in bytes.
Read a word-sized integer from immutable address; offset in bytes.
Read a word-sized unsigned integer from immutable address; offset in bytes.
Read a machine address from immutable address; offset in bytes.
Read a single-precision floating-point value from immutable address; offset in bytes.
Read a double-precision floating-point value from immutable address; offset in bytes.
Read a StablePtr# value from immutable address; offset in bytes.
Read a 16-bit signed integer from immutable address; offset in bytes.
Read a 16-bit unsigned integer from immutable address; offset in bytes.
Read a 32-bit signed integer from immutable address; offset in bytes.
Read a 32-bit unsigned integer from immutable address; offset in bytes.
Read a 64-bit signed integer from immutable address; offset in bytes.
Read a 64-bit unsigned integer from immutable address; offset in bytes.
Read an 8-bit character from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit character from mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a word-sized integer from mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a word-sized unsigned integer from mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a machine address from mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a single-precision floating-point value from mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a double-precision floating-point value from mutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a StablePtr# value from mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read an 8-bit signed integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read an 8-bit unsigned integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 16-bit signed integer from mutable address; offset in 2-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a 16-bit unsigned integer from mutable address; offset in 2-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a 32-bit signed integer from mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a 32-bit unsigned integer from mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a 64-bit signed integer from mutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read a 64-bit unsigned integer from mutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Read an 8-bit character from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit character from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a word-sized integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a word-sized unsigned integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a machine address from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a single-precision floating-point value from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a double-precision floating-point value from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a StablePtr# value from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 16-bit signed integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 16-bit unsigned integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit signed integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 32-bit unsigned integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 64-bit signed integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Read a 64-bit unsigned integer from mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write an 8-bit character to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit character to mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a word-sized integer to mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a word-sized unsigned integer to mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a machine address to mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a single-precision floating-point value to mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a double-precision floating-point value to mutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a StablePtr# value to mutable address; offset in machine words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write an 8-bit signed integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write an 8-bit unsigned integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 16-bit signed integer to mutable address; offset in 2-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a 16-bit unsigned integer to mutable address; offset in 2-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a 32-bit signed integer to mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a 32-bit unsigned integer to mutable address; offset in 4-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a 64-bit signed integer to mutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write a 64-bit unsigned integer to mutable address; offset in 8-byte words.
On some platforms, the access may fail
for an insufficiently aligned Addr#.
Warning: this can fail with an unchecked exception.
Write an 8-bit character to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit character to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a word-sized integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a word-sized unsigned integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a machine address to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a single-precision floating-point value to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a double-precision floating-point value to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a StablePtr# value to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 16-bit signed integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 16-bit unsigned integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit signed integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 32-bit unsigned integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 64-bit signed integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
Write a 64-bit unsigned integer to mutable address; offset in bytes.
Warning: this can fail with an unchecked exception.
The atomic exchange operation. Atomically exchanges the value at the first address with the Addr# given as second argument. Implies a read barrier.
Warning: this can fail with an unchecked exception.
The atomic exchange operation. Atomically exchanges the value at the address with the given value. Returns the old value. Implies a read barrier.
Warning: this can fail with an unchecked exception.
Compare and swap on a word-sized memory location.
Use as: s -> atomicCasAddrAddr# location expected desired s
This version always returns the old value read. This follows the normal protocol for CAS operations (and matches the underlying instruction on most architectures).
Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Compare and swap on a word-sized and aligned memory location.
Use as: s -> atomicCasWordAddr# location expected desired s
This version always returns the old value read. This follows the normal protocol for CAS operations (and matches the underlying instruction on most architectures).
Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Compare and swap on a 8 bit-sized and aligned memory location.
Use as: s -> atomicCasWordAddr8# location expected desired s
This version always returns the old value read. This follows the normal protocol for CAS operations (and matches the underlying instruction on most architectures).
Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Compare and swap on a 16 bit-sized and aligned memory location.
Use as: s -> atomicCasWordAddr16# location expected desired s
This version always returns the old value read. This follows the normal protocol for CAS operations (and matches the underlying instruction on most architectures).
Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Compare and swap on a 32 bit-sized and aligned memory location.
Use as: s -> atomicCasWordAddr32# location expected desired s
This version always returns the old value read. This follows the normal protocol for CAS operations (and matches the underlying instruction on most architectures).
Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Compare and swap on a 64 bit-sized and aligned memory location.
Use as: s -> atomicCasWordAddr64# location expected desired s
This version always returns the old value read. This follows the normal protocol for CAS operations (and matches the underlying instruction on most architectures).
Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, and a value to add, atomically add the value to the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, and a value to subtract, atomically subtract the value from the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, and a value to AND, atomically AND the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, and a value to NAND, atomically NAND the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, and a value to OR, atomically OR the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, and a value to XOR, atomically XOR the value into the element. Returns the value of the element before the operation. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, read a machine word. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Given an address, write a machine word. Implies a full memory barrier.
Warning: this can fail with an unchecked exception.
Mutable variables
Operations on MutVar#s.
A MutVar# behaves like a single-element mutable array.
Create MutVar# with specified initial value in specified state thread.
Read contents of MutVar#. Result is not yet evaluated.
Write contents of MutVar#.
Atomically exchange the value of a MutVar#.
Modify the contents of a MutVar#, returning the previous
contents x :: a and the result of applying the given function to the
previous contents f x :: c.
The data type c (not a newtype!) must be a record whose first field
is of lifted type a :: Type and is not unpacked. For example, product
types c ~ Solo a or c ~ (a, b) work well. If the record type is both
monomorphic and strict in its first field, it's recommended to mark the
latter {-# NOUNPACK #-} explicitly.
Under the hood atomicModifyMutVar2# atomically replaces a pointer to an
old x :: a with a pointer to a selector thunk fst r, where
fst is a selector for the first field of the record and r is a
function application thunk r = f x.
atomicModifyIORef2Native from atomic-modify-general package makes an
effort to reflect restrictions on c faithfully, providing a
well-typed high-level wrapper.
Modify the contents of a MutVar#, returning the previous
contents and the result of applying the given function to the
previous contents.
Compare-and-swap: perform a pointer equality test between
the first value passed to this function and the value
stored inside the MutVar#. If the pointers are equal,
replace the stored value with the second value passed to this
function, otherwise do nothing.
Returns the final value stored inside the MutVar#.
The Int# indicates whether a swap took place,
with 1# meaning that we didn't swap, and 0#
that we did.
Implies a full memory barrier.
Because the comparison is done on the level of pointers,
all of the difficulties of using
reallyUnsafePtrEquality# correctly apply to
casMutVar# as well.
Exceptions
evaluates catch# k handler sk s, invoking handler on any exceptions
thrown.
Note that the result type here isn't quite as unrestricted as the polymorphic type might suggest; see the section "RuntimeRep polymorphism in continuation-style primops" for details.
evaluates maskAsyncExceptions# k sk s such that asynchronous
exceptions are deferred until after evaluation has finished.
Note that the result type here isn't quite as unrestricted as the polymorphic type might suggest; see the section "RuntimeRep polymorphism in continuation-style primops" for details.
evaluates maskUninterruptible# k sk s such that asynchronous
exceptions are deferred until after evaluation has finished.
Note that the result type here isn't quite as unrestricted as the polymorphic type might suggest; see the section "RuntimeRep polymorphism in continuation-style primops" for details.
evaluates unmaskAsyncUninterruptible# k sk s such that asynchronous
exceptions are unmasked.
Note that the result type here isn't quite as unrestricted as the polymorphic type might suggest; see the section "RuntimeRep polymorphism in continuation-style primops" for details.
Continuations
These operations provide access to first-class delimited continuations, which allow a computation to access and manipulate portions of its current continuation. Operationally, they are implemented by direct manipulation of the RTS call stack, which may provide significant performance gains relative to manual continuation-passing style (CPS) for some programs.
Intuitively, the delimited control operators prompt# and
control0# can be understood by analogy to catch# and raiseIO#,
respectively:
Like
catch#,prompt#does not do anything on its own, it just delimits a subcomputation (the source of the name "delimited continuations").Like
raiseIO#,control0#aborts to the nearest enclosingprompt#before resuming execution.
However, unlike raiseIO#, control0# does not discard
the aborted computation: instead, it captures it in a form that allows
it to be resumed later. In other words, control0# does not
irreversibly abort the local computation before returning to the enclosing
prompt#, it merely suspends it. All local context of the suspended
computation is packaged up and returned as an ordinary function that can be
invoked at a later point in time to continue execution, which is why
the suspended computation is known as a first-class continuation.
In GHC, every continuation prompt is associated with exactly one
PromptTag#. Prompt tags are unique, opaque values created by
newPromptTag# that may only be compared for equality. Both prompt#
and control0# accept a PromptTag# argument, and control0#
captures the continuation up to the nearest enclosing use of prompt#
with the same tag. This allows a program to control exactly which
prompt it will abort to by using different tags, similar to how a program
can control which catch it will abort to by throwing different types
of exceptions. Additionally, PromptTag# accepts a single type parameter,
which is used to relate the expected result type at the point of the
prompt# to the type of the continuation produced by control0#.
The gory details
The high-level explanation provided above should hopefully provide some intuition for what these operations do, but it is not very precise; this section provides a more thorough explanation.
The prompt# operation morally has the following type:
prompt# :: PromptTag# a -> IO a -> IO a
If a computation m never calls control0#, then
is equivalent to just prompt# tag mm, i.e. the prompt# is
a no-op. This implies the following law:
\mathtt{prompt\#}\ \mathit{tag}\ (\mathtt{pure}\ x) \equiv \mathtt{pure}\ x
The control0# operation morally has the following type:
control0# :: PromptTag# a -> ((IO b -> IO a) -> IO a) -> IO b
captures the current continuation up to the nearest
enclosing control0# tag f and resumes execution from the point of the call
to prompt# tagprompt#, passing the captured continuation to f. To make that
somewhat more precise, we can say control0# obeys the following law:
\mathtt{prompt\#}\ \mathit{tag}\ (\mathtt{control0\#}\ tag\ f \mathbin{\mathtt{>>=}} k)
\equiv f\ (\lambda\ m \rightarrow m \mathbin{\mathtt{>>=}} k)
However, this law does not fully describe the behavior of control0#,
as it does not account for situations where control0# does not appear
immediately inside prompt#. Capturing the semantics more precisely
requires some additional notational machinery; a common approach is to
use reduction semantics.
Assuming an appropriate definition of evaluation contexts E, the
semantics of prompt# and control0# can be given as follows:
\begin{aligned}
E[\mathtt{prompt\#}\ \mathit{tag}\ (\mathtt{pure}\ v)]
&\longrightarrow E[\mathtt{pure}\ v] \\[8pt]
E_1[\mathtt{prompt\#}\ \mathit{tag}\ E_2[\mathtt{control0\#}\ tag\ f]]
&\longrightarrow E_1[f\ (\lambda\ m \rightarrow E_2[m])] \\[-2pt]
\mathrm{where}\;\: \mathtt{prompt\#}\ \mathit{tag} &\not\in E_2
\end{aligned}
A full treatment of the semantics and metatheory of delimited control is well outside the scope of this documentation, but a good, thorough overview (in Haskell) is provided in A Monadic Framework for Delimited Continuations by Dybvig et al.
Safety and invariants
Correct uses of control0# must obey the following restrictions:
The behavior of
control0#is only well-defined within a /strictState#thread/, such as those associated withIOand strictSTcomputations.Furthermore,
control0#may only be called within the dynamic extent of aprompt#with a matching tag somewhere in the current strictState#thread. Effectively, this means that a matching prompt must exist somewhere, and the captured continuation must not contain any uses ofunsafePerformIO,runST,unsafeInterleaveIO, etc. For example, the following program is ill-defined:prompt#tag $ evaluate (unsafePerformIO $control0#tag f)In this example, the use of
prompt#appears in a differentState#thread from the use ofcontrol0#, so there is no valid prompt in scope to capture up to.Finally,
control0#may not be used withinState#threads associated with an STM transaction (i.e. those introduced byatomically#).
If the runtime is able to detect that any of these invariants have been
violated in a way that would compromise internal invariants of the runtime,
control0# will fail by raising an exception. However, such violations
are only detected on a best-effort basis, as the bookkeeping necessary for
detecting all illegal uses of control0# would have significant overhead.
Therefore, although the operations are "safe" from the runtime's point of
view (e.g. they will not compromise memory safety or clobber internal runtime
state), it is still ultimately the programmer's responsibility to ensure
these invariants hold to guarantee predictable program behavior.
In a similar vein, since each captured continuation includes the full local
context of the suspended computation, it can safely be resumed arbitrarily
many times without violating any invariants of the runtime system. However,
use of these operations in an arbitrary IO computation may be unsafe for
other reasons, as most IO code is not written with reentrancy in mind. For
example, a computation suspended in the middle of reading a file will likely
finish reading it when it is resumed; further attempts to resume from the
same place would then fail because the file handle was already closed.
In other words, although the RTS ensures that a computation's control state
and local variables are properly restored for each distinct resumption of
a continuation, it makes no attempt to duplicate any local state the
computation may have been using (and could not possibly do so in general).
Furthermore, it provides no mechanism for an arbitrary computation to
protect itself against unwanted reentrancy (i.e. there is no analogue to
Scheme's dynamic-wind). For those reasons, manipulating the continuation
is only safe if the caller can be certain that doing so will not violate any
expectations or invariants of the enclosing computation.
See GHC.Prim#continuations.
See GHC.Prim#continuations.
See GHC.Prim#continuations.
See GHC.Prim#continuations.
Warning: this can fail with an unchecked exception.
STM-accessible Mutable Variables
Create a new TVar# holding a specified initial value.
Read contents of TVar# inside an STM transaction,
i.e. within a call to atomically#.
Does not force evaluation of the result.
Read contents of TVar# outside an STM transaction.
Does not force evaluation of the result.
Write contents of TVar#.
Synchronized Mutable Variables
Operations on MVar#s.
A shared mutable variable (not the same as a MutVar#!).
(Note: in a non-concurrent implementation, ( can be
represented by MVar# a)(.) MutVar# (Maybe a))
Create new MVar#; initially empty.
If MVar# is empty, block until it becomes full.
Then remove and return its contents, and set it empty.
If MVar# is empty, immediately return with integer 0 and value undefined.
Otherwise, return with integer 1 and contents of MVar#, and set MVar# empty.
If MVar# is full, block until it becomes empty.
Then store value arg as its new contents.
If MVar# is full, immediately return with integer 0.
Otherwise, store value arg as MVar#'s new contents, and return with integer 1.
If MVar# is empty, block until it becomes full.
Then read its contents without modifying the MVar, without possibility
of intervention from other threads.
If MVar# is empty, immediately return with integer 0 and value undefined.
Otherwise, return with integer 1 and contents of MVar#.
Return 1 if MVar# is empty; 0 otherwise.
Delay/wait operations
Sleep specified number of microseconds.
Block until input is available on specified file descriptor.
Block until output is possible on specified file descriptor.
Concurrency primitives
State# is the primitive, unlifted type of states. It has
one type parameter, thus , or State# RealWorld,
where s is a type variable. The only purpose of the type parameter
is to keep different state threads separate. It is represented by
nothing at all. State# s
RealWorld is deeply magical. It is primitive, but it is not
unlifted (hence ptrArg). We never manipulate values of type
RealWorld; it's only used in the type system, to parameterise State#.
(In a non-concurrent implementation, this can be a singleton
type, whose (unique) value is returned by myThreadId#. The
other operations can be omitted.)
Set the label of the given thread. The ByteArray# should contain
a UTF-8-encoded string.
Get the label of the given thread.
Morally of type ThreadId# -> IO (Maybe ByteArray#), with a 1# tag
denoting Just.
Get the status of the given thread. Result is
(ThreadStatus, Capability, Locked) where
ThreadStatus is one of the status constants defined in
rts/Constants.h, Capability is the number of
the capability which currently owns the thread, and
Locked is a boolean indicating whether the
thread is bound to that capability.
Returns an array of the threads started by the program. Note that this threads which have finished execution may or may not be present in this list, depending upon whether they have been collected by the garbage collector.
Weak pointers
creates a weak reference to value mkWeak# k v finalizer sk,
with an associated reference to some value v. If k is still
alive then v can be retrieved using deRefWeak#. Note that
the type of k must be represented by a pointer (i.e. of kind
TYPE 'LiftedRep or TYPE 'UnliftedRep@).
attaches a C
function pointer addCFinalizerToWeak# fptr ptr flag eptr wfptr to a weak pointer w as a finalizer. If
flag is zero, fptr will be called with one argument,
ptr. Otherwise, it will be called with two arguments,
eptr and ptr. addCFinalizerToWeak# returns
1 on success, or 0 if w is already dead.
Finalize a weak pointer. The return value is an unboxed tuple
containing the new state of the world and an "unboxed Maybe",
represented by an Int# and a (possibly invalid) finalization
action. An Int# of 1 indicates that the finalizer is valid. The
return value b from the finalizer should be ignored.
Stable pointers and names
Compact normal form
Primitives for working with compact regions. The ghc-compact
library and the compact library demonstrate how to use these
primitives. The documentation below draws a distinction between
a CNF and a compact block. A CNF contains one or more compact
blocks. The source file rts/sm/CNF.c
diagrams this relationship. When discussing a compact
block, an additional distinction is drawn between capacity and
utilized bytes. The capacity is the maximum number of bytes that
the compact block can hold. The utilized bytes is the number of
bytes that are actually used by the compact block.
Create a new CNF with a single compact block. The argument is the capacity of the compact block (in bytes, not words). The capacity is rounded up to a multiple of the allocator block size and is capped to one mega block.
Set the new allocation size of the CNF. This value (in bytes) determines the capacity of each compact block in the CNF. It does not retroactively affect existing compact blocks in the CNF.
Returns 1# if the object is contained in the CNF, 0# otherwise.
Returns 1# if the object is in any CNF at all, 0# otherwise.
Returns the address and the utilized size (in bytes) of the first compact block of a CNF.
Given a CNF and the address of one its compact blocks, returns the
next compact block and its utilized size, or nullAddr# if the
argument was the last compact block in the CNF.
Attempt to allocate a compact block with the capacity (in
bytes) given by the first argument. The Addr# is a pointer
to previous compact block of the CNF or nullAddr# to create a
new CNF with a single compact block.
The resulting block is not known to the GC until
compactFixupPointers# is called on it, and care must be taken
so that the address does not escape or memory will be leaked.
Given the pointer to the first block of a CNF and the address of the root object in the old address space, fix up the internal pointers inside the CNF to account for a different position in memory than when it was serialized. This method must be called exactly once after importing a serialized CNF. It returns the new CNF and the new adjusted root address.
Recursively add a closure and its transitive closure to a
Compact# (a CNF), evaluating any unevaluated components
at the same time. Note: compactAdd# is not thread-safe, so
only one thread may call compactAdd# with a particular
Compact# at any given time. The primop does not
enforce any mutual exclusion; the caller is expected to
arrange this.
Like compactAdd#, but retains sharing and cycles
during compaction.
Return the total capacity (in bytes) of all the compact blocks in the CNF.
Unsafe pointer equality
Returns 1# if the given pointers are equal and 0# otherwise.
Parallelism
Create a new spark evaluating the given argument. The return value should always be 1. Users are encouraged to use spark# instead.
Returns the number of sparks in the local spark pool.
Controlling object lifetime
Ensuring that objects don't die a premature death.
keeps the value keepAlive# x s kx alive during the execution
of the computation k.
Note that the result type here isn't quite as unrestricted as the polymorphic type might suggest; see the section "RuntimeRep polymorphism in continuation-style primops" for details.
Tag to enum stuff
Convert back and forth between values of enumerated types and small integers.
Used internally to implement dataToTag#: Use that function instead!
This one normally offers no advantage and comes with no stability
guarantees: it may change its type, its name, or its behavior
with no warning between compiler releases.
It is expected that this function will be un-exposed in a future release of ghc.
For more details, look at Note [DataToTag overview]
in GHC.Tc.Instance.Class in the source code for
the specific compiler version you are using.
Used internally to implement dataToTag#: Use that function instead!
This one offers no advantage and comes with no stability
guarantees: it may change its type, its name, or its behavior
with no warning between compiler releases.
It is expected that this function will be un-exposed in a future release of ghc.
For more details, look at Note [DataToTag overview]
in GHC.Tc.Instance.Class in the source code for
the specific compiler version you are using.
Bytecode operations
Support for manipulating bytecode objects used by the interpreter and linker.
Bytecode objects are heap objects which represent top-level bindings and contain a list of instructions and data needed by these instructions.
Primitive bytecode type.
Convert an Addr# to a followable Any type.
Retrieve the address of any Haskell value. This is
essentially an unsafeCoerce#, but if implemented as such
the core lint pass complains and fails to compile.
As a primop, it is opaque to core/stg, and only appears
in cmm (where the copy propagation pass will get rid of it).
Note that "a" must be a value, not a thunk! It's too late
for strictness analysis to enforce this, so you're on your
own to guarantee this. Also note that Addr# is not a GC
pointer - up to you to guarantee that it does not become
a dangling pointer immediately after you get it.
Wrap a BCO in a AP_UPD thunk which will be updated with the value of
the BCO when evaluated.
creates a new bytecode object. The
resulting object encodes a function of the given arity with the instructions
encoded in newBCO# instrs lits ptrs arity bitmapinstrs, and a static reference table usage bitmap given by
bitmap.
creates a new constructor
application object on the heap from the info table pointer of the data
constructor and the data arguments given in newConAppObj# datacon_itbl lits ptrs arityptrs and lits. The
resulting object is a heap closure for the constructor application. It is
evaluated and properly tagged. The given arity gives the total size of
pointers and literals in number of words.
copies the closure and pointers in the
payload of the given closure into two new arrays, and returns a pointer to
the first word of the closure's info table, a non-pointer array for the raw
bytes of the closure, and a pointer array for the pointers in the payload. unpackClosure# closure
returns the size of the given closure in
machine words. closureSize# closure
Misc
These aren't nearly as wired in as Etc...
Returns the current CostCentreStack (value is NULL if
not profiling). Takes a dummy argument which can be used to
avoid the call to getCurrentCCS# being floated out by the
simplifier, which would result in an uninformative stack
(CAF).
Run the supplied IO action with an empty CCS. For example, this is used by the interpreter to run an interpreted computation without the call stack showing that it was invoked from GHC.
Annotating call stacks
Pushes an annotation frame to the stack which can be reported by backtraces.
Info Table Origin
Fills the given buffer with the InfoProvEnt for the info table of the
given object. Returns 1# on success and 0# otherwise.
Etc
Miscellaneous built-ins
The builtin function type, written in infix form as a % m -> b.
Values of this type are functions taking inputs of type a and
producing outputs of type b. The multiplicity of the input is
m.
Note that permits representation polymorphism in both
FUN m a ba and b, so that types like can still be
well-kinded.Int# -> Int#
Instances11Category, Semigroup, Monoid, Arrow, ArrowApply, ArrowChoice, …
Category (->)Defined in ghc-internal-10.0.0 · GHC.Internal.Control.CategorySemigroup b => Semigroup (a -> b)Defined in ghc-internal-10.0.0 · GHC.Internal.BaseMonoid b => Monoid (a -> b)Defined in ghc-internal-10.0.0 · GHC.Internal.BaseArrow (->)Defined in ghc-internal-10.0.0 · GHC.Internal.Control.ArrowArrowApply (->)Defined in ghc-internal-10.0.0 · GHC.Internal.Control.ArrowArrowChoice (->)Defined in ghc-internal-10.0.0 · GHC.Internal.Control.ArrowArrowLoop (->)Defined in ghc-internal-10.0.0 · GHC.Internal.Control.Monad.FixMonad ((->) r)Defined in ghc-internal-10.0.0 · GHC.Internal.BaseFunctor ((->) r)Defined in ghc-internal-10.0.0 · GHC.Internal.BaseMonadFix ((->) r)Defined in ghc-internal-10.0.0 · GHC.Internal.Control.Monad.FixApplicative ((->) r)Defined in ghc-internal-10.0.0 · GHC.Internal.Base
The token used in the implementation of the IO monad as a state monad.
It does not pass any information at runtime.
See also GHC.Magic.runRW#.
This is an alias for the unboxed unit tuple constructor.
In earlier versions of GHC, void# was a value
of the primitive type Void#, which is now defined to be (# #).
The type constructor Proxy# is used to bear witness to some
type variable. It's used when you want to pass around proxy values
for doing things like modelling type applications. A Proxy#
is not only unboxed, it also has a polymorphic kind, and has no
runtime representation, being totally free.
Witness for an unboxed Proxy# value, which has no runtime
representation.
The value of is bottom if seq a ba is bottom, and
otherwise equal to b. In other words, it evaluates the first
argument a to weak head normal form (WHNF). seq is usually
introduced to improve performance by avoiding unneeded laziness.
A note on evaluation order: the expression does
not guarantee that seq a ba will be evaluated before b.
The only guarantee given by seq is that the both a
and b will be evaluated before seq returns a value.
In particular, this means that b may be evaluated before
a. If you need to guarantee a specific order of evaluation,
you must use the function pseq from the "parallel" package.
Emits an event via the RTS tracing framework. The contents
of the event is the zero-terminated byte string passed as the first
argument. The event will be emitted either to the .eventlog file,
or to stderr, depending on the runtime RTS flags.
Emits an event via the RTS tracing framework. The contents
of the event is the binary object passed as the first argument with
the given length passed as the second argument. The event will be
emitted to the .eventlog file.
Emits a marker event via the RTS tracing framework. The contents
of the event is the zero-terminated byte string passed as the first
argument. The event will be emitted either to the .eventlog file,
or to stderr, depending on the runtime RTS flags.
Sets the allocation counter for the current thread to the given value.
Sets the allocation counter for the another thread to the given value. This doesn't take allocations into the current nursery chunk into account. Therefore it is only accurate if the other thread is not currently running.
Haskell representation of a StgStack* that was created (cloned)
with a function in GHC.Stack.CloneStack. Please check the
documentation in that module for more detailed explanations.
Safe coercions
The function coerce allows you to safely convert between values of
types that have the same representation with no run-time overhead. In the
simplest case you can use it instead of a newtype constructor, to go from
the newtype's concrete type to the abstract type. But it also works in
more complicated settings, e.g. converting a list of newtypes to a list of
concrete types.
When used in conversions involving a newtype wrapper, make sure the newtype constructor is in scope.
This function is representation-polymorphic, but the
RuntimeRep type argument is marked as Inferred, meaning
that it is not available for visible type application. This means
the typechecker will accept .coerce @Int @Age 42
Examples
newtype TTL = TTL Int deriving (Eq, Ord, Show)newtype Age = Age Int deriving (Eq, Ord, Show)coerce (Age 42) :: TTLTTL 42coerce (+ (1 :: Int)) (Age 42) :: TTLTTL 43coerce (map (+ (1 :: Int))) [Age 42, Age 24] :: [TTL][TTL 43,TTL 25]
SIMD Vectors
Operations on SIMD vectors.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Broadcast a scalar to all elements of a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Pack the elements of an unboxed tuple into a vector.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Unpack the elements of a vector into an unboxed tuple.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Insert a scalar at the given position in a vector. The position must be a compile-time constant.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Add two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Subtract two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Multiply two vectors element-wise.
Divide two vectors element-wise.
Divide two vectors element-wise.
Divide two vectors element-wise.
Divide two vectors element-wise.
Divide two vectors element-wise.
Divide two vectors element-wise.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Rounds towards zero element-wise.
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Satisfies (.quot# x y) times# y plus# (rem# x y) == x
Note: Most CPU ISAs do not contain any SIMD integer division instructions. Do not expect high performance.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Negate element-wise.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise absolute value.
Element-wise square root.
Element-wise square root.
Element-wise square root.
Element-wise square root.
Element-wise square root.
Element-wise square root.
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of an immutable array. The index is counted in units of SIMD vectors (not scalar elements).
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write a vector to the specified index of a mutable array. The index is counted in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Reads vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Write vector; offset in units of SIMD vectors (not scalar elements).
Warning: this can fail with an unchecked exception.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of immutable array of scalars; offset is in scalar elements.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Read a vector from specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Write a vector to specified index of mutable array of scalars; offset is in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Reads vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Write vector; offset in scalar elements.
Warning: this can fail with an unchecked exception.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-add operation x*y+z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused multiply-subtract operation x*y-z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-add operation -x*y+z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Fused negate-multiply-subtract operation -x*y-z. See GHC.Prim#fma.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Shuffle elements of the concatenation of the input two vectors into the result vector. The indices must be compile-time constants.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise minimum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Component-wise maximum of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise AND of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise OR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Bit-wise XOR of two vectors.
Prefetch
Prefetch operations: Note how every prefetch operation has a name with the pattern prefetch*N#, where N is either 0,1,2, or 3.
This suffix number, N, is the "locality level" of the prefetch, following the convention in GCC and other compilers. Higher locality numbers correspond to the memory being loaded in more levels of the cpu cache, and being retained after initial use. The naming convention follows the naming convention of the prefetch intrinsic found in the GCC and Clang C compilers.
On the LLVM backend, prefetch*N# uses the LLVM prefetch intrinsic with locality level N. The code generated by LLVM is target architecture dependent, but should agree with the GHC NCG on x86 systems.
On the PPC native backend, prefetch*N is a No-Op.
On the x86 NCG, N=0 will generate prefetchNTA, N=1 generates prefetcht2, N=2 generates prefetcht1, and N=3 generates prefetcht0.
For streaming workloads, the prefetch*0 operations are recommended. For workloads which do many reads or writes to a memory location in a short period of time, prefetch*3 operations are recommended.
For further reading about prefetch and associated systems performance optimization, the instruction set and optimization manuals by Intel and other CPU vendors are excellent starting place.
The "Intel 64 and IA-32 Architectures Optimization Reference Manual" is especially a helpful read, even if your software is meant for other CPU architectures or vendor hardware. The manual can be found at http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-optimization-manual.html .
The prefetch* family of operations has the order of operations
determined by passing around the State# token.
To get a "pure" version of these operations, use inlinePerformIO which is quite safe in this context.
It is important to note that while the prefetch operations will never change the answer to a pure computation, They CAN change the memory locations resident in a CPU cache and that may change the performance and timing characteristics of an application. The prefetch operations are marked as ReadWriteEffect to reflect that these operations have side effects with respect to the runtime performance characteristics of the resulting code. Additionally, if the prefetchValue operations did not have this attribute, GHC does a float out transformation that results in a let-can-float invariant violation, at least with the current design.
RuntimeRep polymorphism in continuation-style primops
Several primops provided by GHC accept continuation arguments with highly polymorphic
arguments. For instance, consider the type of catch#:
catch# :: forall (r_rep :: RuntimeRep) (r :: TYPE r_rep) w. (State# RealWorld -> (# State# RealWorld, r #) ) -> (w -> State# RealWorld -> (# State# RealWorld, r #) ) -> State# RealWorld -> (# State# RealWorld, r #)
This type suggests that we could instantiate catch# continuation argument
(namely, the first argument) with something like,
f :: State# RealWorld -> (# State# RealWorld, (# Int, String, Int8# #) #)
However, sadly the type does not capture an important limitation of the
primop. Specifically, due to the operational behavior of catch# the result
type must be representable with a single machine word. In a future GHC
release we may improve the precision of this type to capture this limitation.
See #21868.