Function splat_m128i_m256i
pub fn splat_m128i_m256i(a: m128i) -> m256i
Available on crate feature
dep_safe_arch
only.Expand description
Splat the 128-bits across 256-bits.
let a = m128i::from(1_i128);
let b: [i128; 2] = splat_m128i_m256i(a).into();
assert_eq!(b, [1_i128, 1]);
- Intrinsic:
_mm256_broadcastsi128_si256
- Assembly:
vbroadcasti128 ymm, m128