_mm256_mask_cvtsepi64_storeu_epi32
Classification
AVX-512, Store, CPUID Test: AVX512F
Header File
Instruction
VPMOVSQD m128 {k}, ymm
Synopsis
_mm256_mask_cvtsepi64_storeu_epi32(void* base_addr, __mmask8 k, __m256i a);
Description
Convert packed signed 64-bit integers in "a" to packed 32-bit integers with signed saturation, and store the active results (those with their respective bit set in writemask "k") to unaligned memory at "base_addr".
Operation
FOR j := 0 to 3
i := 64*j
l := 32*j
IF k[j]
MEM[base_addr+l+31:base_addr+l] := Saturate32(a[i+63:i])
FI
ENDFOR