_mm256_insertf128_ps
Classification
Header File
Instruction
VINSERTF128 ymm, ymm, xmm, imm8
Synopsis
_mm256_insertf128_ps(__m256 a, __m128 b, int imm8);
Description
Copy "a" to "dst", then insert 128 bits (composed of 4 packed single-precision (32-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