_mm512_mask_cvtsepi64_epi32
Classification
AVX-512, Convert, CPUID Test: AVX512F
Header File
Instruction
VPMOVSQD ymm {k}, zmm
Synopsis
_mm512_mask_cvtsepi64_epi32(__m256i src, __mmask8 k, __m512i a);
Description
Convert packed signed 64-bit integers in "a" to packed 32-bit integers with signed saturation, and store the results in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 7
i := 64*j
l := 32*j
IF k[j]
dst[l+31:l] := Saturate32(a[i+63:i])
ELSE
dst[l+31:l] := src[l+31:l]
FI
ENDFOR
dst[MAX:256] := 0