You copied the Doc URL to your clipboard.

DUP (vector, element)

Duplicate vector element to vector.

Syntax

DUP Vd.T, Vn.Ts[index]

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.

Ts

Is an element size specifier, and can be one of the values shown in Usage.

Vn

Is the name of the SIMD and FP source register.

index

Is the element index, in the range shown in Usage.

Usage

The following table shows the valid specifier combinations:

Table 20-4 DUP (Vector) specifier combinations

T Ts index
8B B 0 to 15
16B B 0 to 15
4H H 0 to 7
8H H 0 to 7
2S S 0 to 3
4S S 0 to 3
2D D 0 or 1
Was this page helpful? Yes No