# Function core::arch::x86::_mm_stream_ps

1.27.0 · source ·

    pub unsafe fn _mm_stream_ps(mem_addr: *mut f32, a: __m128)

Available on (x86 or x86-64) and target feature `sse` and x86 only.
Expand description

Stores `a` into the memory at `mem_addr` using a non-temporal memory hint.

`mem_addr` must be aligned on a 16-byte boundary or a general-protection exception may be generated.

Intel’s documentation

## §Safety of non-temporal stores

After using this intrinsic, but before any other access to the memory that this intrinsic mutates, a call to `_mm_sfence` must be performed by the thread that used the intrinsic. In particular, functions that call this intrinsic should generally call `_mm_sfence` before they return.

See `_mm_sfence` for details.