vec_stl in core::arch::powerpc64 - Rust
Description: Vector Store Indexed Least Recently Used

Skip to main content

## vec_stl

# Function vec_stl

Source

    pub unsafe fn vec_stl<T>(a: T, off: isize, c: <T as VectorSt>::Target)where
        T: VectorSt,

🔬This is a nightly-only experimental API. (`stdarch_powerpc` #111145)
Available on PowerPC64 and target feature `altivec` and (PowerPC or PowerPC64) only.
Expand description

Vector Store Indexed Least Recently Used

### §Purpose

Stores a 16-byte vector into memory at the address specified by a displacement and a pointer, ignoring the four low-order bits of the calculated address, and marking the cache line containing the address as least frequently used.

### §Operation

A memory address is obtained by adding b and c, and masking off the four low-order bits of the result. The 16-byte vector in a is stored to the resultant memory address, and the containing cache line is marked as least frequently used.

### §Notes

This intrinsic can be used to indicate the last access to a portion of memory, as a hint to the data cache controller that the associated cache line can be replaced without performance loss.