_mm512_mask_fpclass_ps_mask
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
immintrin.h
Instruction
VFPCLASSPS k {k}, zmm, imm8
Synopsis
 _mm512_mask_fpclass_ps_mask(__mmask16 k1, __m512 a, int imm8);
Description
Test packed single-precision (32-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 15
	i := j*32
	IF k1[j]
		k[j] := CheckFPClass_FP32(a[i+31:i], imm8[7:0])
	ELSE
		k[j] := 0
	FI
ENDFOR
k[MAX:16] := 0