Function core::arch::x86::_mm256_mask_bitshuffle_epi64_mask
source · pub unsafe fn _mm256_mask_bitshuffle_epi64_mask(
k: __mmask32,
b: __m256i,
c: __m256i
) -> __mmask32🔬This is a nightly-only experimental API. (
stdsimd #48556)Available on (x86 or x86-64) and target feature
avx512bitalg,avx512vl and x86 only.Expand description
将输入 b 视为包装的 64 位整数,并将 c 视为包装的 8 位整数。
然后将 c 中的 8 个 8 位值作为索引分组到相应 64 位整数的位中。
然后,选择这些位并将其包装到输出中。
使用 k 中的写掩码 - 如果未设置相应的掩码位,则结果中的元素为零。 否则,将计算结果写入结果中。