Int16 package:ghc-prim

signed, 16-bit value
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.
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.
Read a 16-bit signed integer from immutable array; offset in 2-byte words.
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 16-bit signed integer from immutable address; offset in 2-byte words. On some platforms, the access may fail for an insufficiently aligned Addr#.
Reads vector; offset in scalar elements.
Reads vector; offset in scalar elements.