INS (vector, general)
Insert vector element from general-purpose register.
This instruction is used by the alias
MOV (from general).
- Is the name of the SIMD and FP destination register.
- Is an element size specifier, and can be one of the values shown in Usage.
- Is the element index, in the range shown in Usage.
Is the width specifier for the general-purpose source register, and can be either
- Is the number [0-30] of the general-purpose source register or ZR (31).
Insert vector element from general-purpose register. This instruction copies the contents of the source general-purpose register to the specified vector element in the destination SIMD and FP register.
This instruction can insert data into individual elements within a SIMD and FP register without clearing the remaining bits to zero.
Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.
The following table shows the valid specifier combinations:
Table 20-17 INS (Vector) specifier combinations
|B||0 to 15||W|
|H||0 to 7||W|
|S||0 to 3||W|
|D||0 or 1||X|