Function core::arch::x86::_mm_setr_ps

1.27.0 · source ·
pub unsafe fn _mm_setr_ps(a: f32, b: f32, c: f32, d: f32) -> __m128
Available on (x86 or x86-64) and target feature sse and x86 only.
Expand description

Construct a __m128 from four floating point values lowest to highest.

This matches the memory order of __m128, i.e., a will be the lowest 32 bits of the result, and d the highest.

assert_eq!(__m128::new(a, b, c, d), _mm_setr_ps(a, b, c, d));

Intel’s documentation

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.