_mm_load_ps in core::arch::x86 - Rust
Description: Loads four `f32` values from aligned memory into a `__m128`. If the pointer is not aligned to a 128-bit boundary (16 bytes) a general protection fault will be triggered (fatal program crash).
Keywords: rust, rustlang, rust-lang, _mm_load_ps

# Function core::arch::x86::_mm_load_ps
1.27.0[−][src]

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

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

Loads four `f32` values from aligned memory into a `__m128`. 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_loadu_ps` for potentially unaligned memory.

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

Intel’s documentation