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
This is supported on x86 and target feature sse 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