Function core::arch::x86::_mm_store1_ps 1.27.0[−][src]
pub unsafe fn _mm_store1_ps(p: *mut f32, a: __m128)
This is supported on x86 and target feature
sse
only.Expand description
Stores the lowest 32 bit float of a
repeated four times 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).
Functionally equivalent to the following code sequence (assuming p
satisfies the alignment restrictions):
let x = a.extract(0);
*p = x;
*p.offset(1) = x;
*p.offset(2) = x;
*p.offset(3) = x;