19.16 DUP (scalar, element)

Duplicate vector element to scalar.

This instruction is used by the alias MOV (scalar).

Syntax

DUP Vd, Vn.T[index]

Where:

V
Is the destination width specifier, and can be one of the values shown in Usage.
d
Is the number of the SIMD and FP destination register.
T
Is the element width 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

Duplicate vector element to vector or scalar. This instruction duplicates the vector element at the specified element index in the source SIMD and FP register into a scalar or each element in a vector, and writes the result to the destination SIMD and FP 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 19-2 DUP (Scalar) specifier combinations

V T index
B B 0 to 15
H H 0 to 7
S S 0 to 3
D D 0 or 1
Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.