_mm512_inserti64x2
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512DQ
Header File
Instruction
VINSERTI64X2 zmm, zmm, xmm, imm8
Synopsis
_mm512_inserti64x2(__m512i 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[511:0] := a[511:0]
CASE imm8[1:0] OF
0: dst[127:0] := b[127:0]
1: dst[255:128] := b[127:0]
2: dst[383:256] := b[127:0]
3: dst[511:384] := b[127:0]
ESAC
dst[MAX:512] := 0