core::arch::x86_64

Function _mm_load_ps

1.27.0 · Source
pub unsafe fn _mm_load_ps(p: *const f32) -> __m128
Available on (x86 or x86-64) and target feature sse and x86-64 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