[−][src]Function safe_arch::splat_m128i_m256i
#[must_use]pub fn splat_m128i_m256i(a: m128i) -> m256i
This is supported with target feature
avx2
only.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