_mm_store_ps in core::arch::x86 - Rust
Description: Stores four 32-bit floats into aligned memory.

core::arch::x86

# Function _mm_store_ps

1.27.0 · Source

    pub unsafe fn _mm_store_ps(p: *mut f32, a: __m128)

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

Stores four 32-bit floats into aligned memory.

If the pointer is not aligned to a 128-bit boundary (16 bytes) a general protection fault will be triggered (fatal program crash).

Use `_mm_storeu_ps` for potentially unaligned memory.

This corresponds to instructions `VMOVAPS` / `MOVAPS`.

Intel’s documentation