_mm256_mask_loadu_epi16
Classification
AVX-512, Load, CPUID Test: AVX512BW
Header File
immintrin.h
Instruction
VMOVDQU16 ymm {k}, m256
Synopsis
 _mm256_mask_loadu_epi16(__m256i src, __mmask16 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 15
	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:256] := 0