Skip to main content



compressed_store[type: DType, size: Int](value: SIMD[type, size], addr: DTypePointer[type, 0], mask: SIMD[bool, size])

Compresses the lanes of value, skipping mask lanes, and stores at addr.


  • type (DType): DType of value, the value to store.
  • size (Int): Size of value, the value to store.


  • value (SIMD[type, size]): The vector containing data to store.
  • addr (DTypePointer[type, 0]): The memory location to store the compressed data.
  • mask (SIMD[bool, size]): A binary vector which prevents memory access to certain lanes of value.