_mm512_mask_cmpunord_pd_mask
Classification
KNC, Compare, CPUID Test: KNCNI
Header File
Instruction
VCMPPD k {k}, zmm, zmm, imm8
Synopsis
_mm512_mask_cmpunord_pd_mask(__mmask8 k1, __m512d a, __m512d b);
Description
Compare packed double-precision (64-bit) floating-point elements in "a" and "b" to see if either is NaN, and store the results in mask vector "k" using zeromask "k1" (elements are zeroed out when the corresponding mask bit is not set).
Operation
FOR j := 0 to 7
i := j*64
IF k1[j]
k[j] := (a[i+63:i] == NaN OR b[i+63:i] == NaN) ? 1 : 0
ELSE
k[j] := 0
FI
ENDFOR
k[MAX:8] := 0