You copied the Doc URL to your clipboard.

DUP (vector, general)

Duplicate general-purpose register to vector.

Syntax

DUP Vd.T, Rn

Where:

Vd
Is the name of the SIMD and FP destination register.
T
Is an arrangement specifier, and can be one of the values 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

Duplicate general-purpose register to vector. This instruction duplicates the contents of the source general-purpose register into a scalar or each element in a vector, and writes the result to the SIMD and FP destination register.

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-5 DUP (Vector) specifier combinations

T R
8B W
16B W
4H W
8H W
2S W
4S W
2D X
Was this page helpful? Yes No