_mm512_mask_loadu_epi16
Classification
AVX-512, Load, CPUID Test: AVX512BW
Header File
Instruction
VMOVDQU16 zmm {k}, m512
Synopsis
_mm512_mask_loadu_epi16(__m512i src, __mmask32 k, void const* mem_addr);
Description
Load packed 16-bit integers from memory into "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
"mem_addr" does not need to be aligned on any particular boundary.
Operation
FOR j := 0 to 31
i := j*16
IF k[j]
dst[i+15:i] := MEM[mem_addr+i+15:mem_addr+i]
ELSE
dst[i+15:i] := src[i+15:i]
FI
ENDFOR
dst[MAX:512] := 0