_mm_maskz_set1_epi16
Classification
Header File
Instruction
VPBROADCASTW xmm {z}, r16
Synopsis
_mm_maskz_set1_epi16(__mmask8 k, short a);
Description
Broadcast the low packed 16-bit integer from "a" to all elements of "dst" using zeromask "k" (elements are zeroed out when the corresponding mask bit is not set).
Operation
FOR j := 0 to 7
i := j*16
IF k[j]
dst[i+15:i] := a[15:0]
ELSE
dst[i+15:i] := 0
FI
ENDFOR
dst[MAX:128] := 0