_mm256_mask_fpclass_pd_mask
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
immintrin.h
Instruction
VFPCLASSPD k {k}, ymm, imm8
Synopsis
 _mm256_mask_fpclass_pd_mask(__mmask8 k1, __m256d a, int imm8);
Description
Test packed double-precision (64-bit) floating-point elements in "a" for special categories specified by "imm8", and store the results in mask vector "k" using zeromask "k1" (elements are zeroed out when the corresponding mask bit is not set). [fpclass_note]
Operation
FOR j := 0 to 3
	i := j*64
	IF k1[j]
		k[j] := CheckFPClass_FP64(a[i+63:i], imm8[7:0])
	ELSE
		k[j] := 0
	FI
ENDFOR
k[MAX:4] := 0