Copy a vector element to a general-purpose register with sign or zero extension copies a byte, halfword, or word from an Advanced SIMD scalar to a general-purpose register. Bytes and halfwords can be either zero-extended or sign-extended.
On a Floating-point-only system, this instruction transfers one word from the upper or lower half of a double-precision floating-point register to a general-purpose register. This is an identical operation to the Advanced SIMD single word transfer.
For more information about scalars see Advanced SIMD scalars.
Depending on settings in the CPACR, NSACR, HCPTR, and FPEXC registers, and the Security state and PE mode in which the instruction is executed, an attempt to execute the instruction might be undefined, or trapped to Hyp mode. For more information see Enabling Advanced SIMD and floating-point support.
It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 ) .
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| != 1111 | 1 | 1 | 1 | 0 | U | opc1 | 1 | Vn | Rt | 1 | 0 | 1 | 1 | N | opc2 | 1 | (0) | (0) | (0) | (0) | |||||||||||
| cond | |||||||||||||||||||||||||||||||
constant bits(4) opc = opc1:opc2; if (U:opc) IN {'10x00', 'x0x10'} then UNDEFINED; constant integer lsb = LowestSetBit(opc<0,3>); constant integer esize = 8 << lsb; constant integer index = UInt(opc<2:lsb>); constant boolean advsimd = (esize < 32); constant boolean unsigned = (U == '1'); constant t = UInt(Rt); constant n = UInt(N:Vn); // Armv8-A removes UNPREDICTABLE for R13 if t == 15 then UNPREDICTABLE;
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | U | opc1 | 1 | Vn | Rt | 1 | 0 | 1 | 1 | N | opc2 | 1 | (0) | (0) | (0) | (0) | ||||||||
constant bits(4) opc = opc1:opc2; if (U:opc) IN {'10x00', 'x0x10'} then UNDEFINED; constant integer lsb = LowestSetBit(opc<0,3>); constant integer esize = 8 << lsb; constant integer index = UInt(opc<2:lsb>); constant boolean advsimd = (esize < 32); constant boolean unsigned = (U == '1'); constant t = UInt(Rt); constant n = UInt(N:Vn); // Armv8-A removes UNPREDICTABLE for R13 if t == 15 then UNPREDICTABLE;
For more information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.
| <c> |
| <q> |
| <Rt> |
The destination general-purpose register. |
| <Dn[x]> |
The scalar. For details of how [x] is encoded see the description of <dt>. |
if ConditionPassed() then EncodingSpecificOperations(); CheckAdvSIMDOrVFPEnabled(TRUE, advsimd); if unsigned then R[t] = ZeroExtend(Elem[D[n],index,esize], 32); else R[t] = SignExtend(Elem[D[n],index,esize], 32);
If CPSR.DIT is 1 and this instruction passes its condition execution check:
Internal version only: isa v01_32, pseudocode v2025-03_rel ; Build timestamp: 2025-03-21T16:47
Copyright © 2010-2025 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.