_mm256_mask_broadcast_i64x2
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
immintrin.h
Instruction
VBROADCASTI64X2 ymm {k}, m128
Synopsis
 _mm256_mask_broadcast_i64x2(__m256i src, __mmask8 k, __m128i a);
Description
Broadcast the 2 packed 64-bit integers from "a" to all elements of "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 3
	i := j*64
	n := (j % 2)*64
	IF k[j]
		dst[i+63:i] := a[n+63:n]
	ELSE
		dst[i+63:i] := src[i+63:i]
	FI
ENDFOR
dst[MAX:256] := 0