PER ARM'S REQUEST, THIS SITE WILL BE DISCONTINUED ON 4 DECEMBER 2026. :(
Arm's lawyers have notified me to take down this site or face legal action.
To all of the fans of this site over the years (even the ones at Arm): thank you for your support! I'm glad I could provide a resource so many people found value in. I will look into solutions that can potentially keep bookmarks and links working.
— Jon
Broadcast indexed element to vector (unpredicated)
This instruction unconditionally broadcasts the indexed source vector element into each element of the destination vector. This instruction is unpredicated.
The immediate element index is in the range of 0 to 63 (bytes), 31 (halfwords), 15 (words), 7 (doublewords) or 3 (quadwords). Selecting an element beyond the accessible vector length causes the destination vector to be set to zero.
This instruction is used by the alias MOV (SIMD&FP scalar, unpredicated).
| 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 |
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | imm2 | 1 | tsz | 0 | 0 | 1 | 0 | 0 | 0 | Zn | Zd | |||||||||||||
if !IsFeatureImplemented(FEAT_SVE) && !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end; if tsz == '00000' then EndOfDecode(Decode_UNDEF); end; let lsb : integer{} = LowestSetBit(tsz); let esize : integer{} = 8 << lsb; let imm : bits(7) = imm2::tsz; let index : integer = UInt(imm[6:(lsb+1)]); let n : integer = UInt(Zn); let d : integer = UInt(Zd);
| <Zd> |
Is the name of the destination scalable vector register, encoded in the "Zd" field. |
| <T> |
Is the size specifier,
encoded in
|
| <Zn> |
Is the name of the source scalable vector register, encoded in the "Zn" field. |
| <imm> |
Is the immediate index, in the range 0 to one less than the number of elements in 512 bits, encoded in "imm2:tsz". |
| Alias | Is preferred when |
|---|---|
| MOV (SIMD&FP scalar, unpredicated) | BitCount(imm2 :: tsz) == 1 |
| MOV (SIMD&FP scalar, unpredicated) | BitCount(imm2 :: tsz) > 1 |
CheckSVEEnabled(); let VL : integer{} = CurrentVL(); let elements : integer = VL DIV esize; let operand1 : bits(VL) = if index < elements then Z{VL}(n) else Zeros{VL}; var result : bits(VL); var element : bits(esize); if index >= elements then element = Zeros{esize}; else element = operand1[index*:esize]; end; result = Replicate{VL}(element); Z{VL}(d) = result;
This instruction is a data-independent-time instruction as described in About PSTATE.DIT.
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.