_mm256_insertf64x2
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
Instruction
VINSERTF64X2 ymm, ymm, xmm, imm8
Synopsis
_mm256_insertf64x2(__m256d a, __m128d b, int imm8);
Description
Copy "a" to "dst", then insert 128 bits (composed of 2 packed double-precision (64-bit) floating-point elements) from "b" into "dst" at the location specified by "imm8".
Operation
dst[255:0] := a[255:0]
CASE imm8[0] OF
0: dst[127:0] := b[127:0]
1: dst[255:128] := b[127:0]
ESAC
dst[MAX:256] := 0