_mm_load1_ps in core::arch::x86 - Rust
Description: Construct a `__m128` by duplicating the value read from `p` into all elements.

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 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