[−][src]Function safe_arch::shuffle_av_f32_all_m128
#[must_use]pub fn shuffle_av_f32_all_m128(a: m128, v: m128i) -> m128
This is supported with target feature
avx
only.Shuffle f32
values in a
using i32
values in v
.
let a = m128::from_array([5.0, 6.0, 7.0, 8.0]); let v = m128i::from([0, 2, 3, 1]); let c = shuffle_av_f32_all_m128(a, v).to_array(); assert_eq!(c, [5.0, 7.0, 8.0, 6.0]);
- Intrinsic:
_mm_permutevar_ps
- Assembly:
vpermilps xmm, xmm, xmm