_mm256_inserti64x2
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
Instruction
VINSERTI64X2 ymm, ymm, xmm, imm8
Synopsis
_mm256_inserti64x2(__m256i a, __m128i b, int imm8);
Description
Copy "a" to "dst", then insert 128 bits (composed of 2 packed 64-bit integers) 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