_mm512_mask_cvtpd_pslo
Classification
AVX-512, Convert, CPUID Test: AVX512F
Header File
immintrin.h
Instruction
VCVTPD2PS zmm {k}, zmm
Synopsis
 _mm512_mask_cvtpd_pslo(__m512 src, __mmask8 k, __m512d v2);
Description
Performs an element-by-element conversion of packed double-precision (64-bit) floating-point elements in "v2" to single-precision (32-bit) floating-point elements and stores them in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set). The elements are stored in the lower half of the results vector, while the remaining upper half locations are set to 0.
Operation
FOR j := 0 to 7
	i := j*64
	l := j*32
	IF k[j]
		dst[l+31:l] := Convert_FP64_To_FP32(v2[i+63:i])
	ELSE
		dst[l+31:l] := src[l+31:l]
	FI
ENDFOR
dst[MAX:512] := 0