_mm512_mask_loadunpacklo_epi64
Classification
KNC, Load, CPUID Test: KNCNI
Header File
immintrin.h
Instruction
VLOADUNPACKLQ zmm {k}, m512
Synopsis
 _mm512_mask_loadunpacklo_epi64(__m512i src, __mmask8 k, void const* mt);
Description
Loads the low-64-byte-aligned portion of the quadword stream starting at element-aligned address mt and expands them into packed 64-bit integers in "dst". The initial values of "dst" are copied from "src". Only those converted quad that occur before first 64-byte-aligned address following "mt" are loaded. Elements in the resulting vector that do not map to those quadwords are taken from "src". Elements are loaded from memory according to element selector "k" (elements are skipped when the corresponding mask bit is not set).
Operation
dst[511:0] := src[511:0]
loadOffset := 0
addr := mt
FOR j := 0 to 7
	i := j*64
	IF k[j]
		tmp := MEM[addr + loadOffset*8]
		dst[i+63:i] := tmp[i+63:i]
		loadOffset := loadOffset + 1
		IF (addr + loadOffset*8 % 64) == 0
			BREAK
		FI
	FI
ENDFOR
dst[MAX:512] := 0