# Function core::arch::x86::_mm_storer_ps

1.27.0 · source · [−]

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

This is supported on x86 and target feature `sse` only.
Expand description

Stores four 32-bit floats into aligned memory in reverse order.

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

Functionally equivalent to the following code sequence (assuming `p` satisfies the alignment restrictions):

    *p = a.extract(3);
    *p.offset(1) = a.extract(2);
    *p.offset(2) = a.extract(1);
    *p.offset(3) = a.extract(0);

Intel’s documentation