_mm512_mask_cvtsepi32_storeu_epi16
Classification
AVX-512, Store, CPUID Test: AVX512F
Header File
Instruction
VPMOVSDW m256 {k}, zmm
Synopsis
_mm512_mask_cvtsepi32_storeu_epi16(void* base_addr, __mmask16 k, __m512i a);
Description
Convert packed signed 32-bit integers in "a" to packed 16-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 15
i := 32*j
l := 16*j
IF k[j]
MEM[base_addr+l+15:base_addr+l] := Saturate16(a[i+31:i])
FI
ENDFOR