insertps
Insert Packed Single-Precision
INSERTPS xmm1, xmm2/m32, imm8
Inserts a single float into a specific index of XMM.
Details
The Insert Packed Single-Precision instruction inserts a single float into a specific index of XMM.
Pseudocode Operation
// Inserts a single float into a specific index of XMM
Example
INSERTPS xmm1, xmm2/m32, 3
Encoding
Binary Layout
66
+0
0F
+1
3A
+2
21
+3
Operands
-
dest
128-bit XMM SIMD register -
src1
128-bit XMM SIMD register or Memory operand -
src2
8-bit signed immediate