You copied the Doc URL to your clipboard.

INS (vector, general)

Insert vector element from general-purpose register.

This instruction is used by the alias MOV (from general).

Syntax

INS Vd.Ts[index], Rn

Where:

Vd
Is the name of the SIMD and FP destination register.
Ts
Is an element size specifier, and can be one of the values shown in Usage.
index
Is the element index, in the range shown in Usage.
R
Is the width specifier for the general-purpose source register, and can be either W or X.
n
Is the number [0-30] of the general-purpose source register or ZR (31).

Usage

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-13 INS (Vector) specifier combinations

Ts index R
B 0 to 15 W
H 0 to 7 W
S 0 to 3 W
D 0 or 1 X
Was this page helpful? Yes No