Skip to main content

## _mm_load1_ps

# Function _mm_load1_ps

1.27.0 (const: unstable) · Source

    pub unsafe fn _mm_load1_ps(p: *const f32) -> __m128

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

Construct a `__m128` by duplicating the value read from `p` into all elements.

This corresponds to instructions `VMOVSS` / `MOVSS` followed by some shuffling.

Intel’s documentation