[−][src]Function safe_arch::shl_all_u64_m256i
#[must_use]pub fn shl_all_u64_m256i(a: m256i, count: m128i) -> m256i
This is supported with target feature
avx2
only.Shift all u64
lanes left by the lower u64
lane of count
.
let a = m256i::from([0_u64, 1, 2, 13]); let count = m128i::from(1_u128); let b: [u64; 4] = shl_all_u64_m256i(a, count).into(); assert_eq!(b, [0, 2, 4, 26]);
- Intrinsic:
_mm256_sll_epi64
- Assembly:
vpsllq ymm, ymm, xmm