Word16 package:ghc-internal

16-bit unsigned integer type
unsigned, 16-bit value
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.
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.
Read a 16-bit unsigned 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 unsigned 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.
Reads vector; offset in scalar elements.