DUPQ
Broadcast indexed element within each quadword vector segment (unpredicated)
This instruction unconditionally broadcasts the indexed element within each 128-bit source vector segment to all elements of the corresponding destination vector segment. This instruction is unpredicated.
The immediate element index is in the range of 0 to 15 (bytes), 7 (halfwords), 3 (words) or 1 (doublewords).
SVE2 class
(FEAT_SVE2p1 || FEAT_SME2p1)
| 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 | 0 | 0 | 1 | i1 | tsz | 0 | 0 | 1 | 0 | 0 | 1 | Zn | Zd | |||||||||||
Decode
if !IsFeatureImplemented(FEAT_SVE2p1) && !IsFeatureImplemented(FEAT_SME2p1) then
EndOfDecode(Decode_UNDEF);
end;
if tsz == '0000' then EndOfDecode(Decode_UNDEF); end;
let lsb : integer{} = LowestSetBit(tsz);
let esize : integer{} = 8 << lsb;
let imm : bits(5) = i1::tsz;
let index : integer = UInt(imm[4:(lsb+1)]);
let n : integer = UInt(Zn);
let d : integer = UInt(Zd);
Assembler Symbols
| <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 128 bits, encoded in "i1:tsz". |
Operation
CheckSVEEnabled();
let VL : integer{} = CurrentVL();
let segments : integer = VL DIV 128;
let elements : integer = 128 DIV esize;
let operand : bits(VL) = Z{}(n);
var result : bits(VL);
var element : bits(esize);
for s = 0 to segments-1 do
element = operand[(s * elements + index)*:esize];
result[s*:128] = Replicate{128}(element);
end;
Z{VL}(d) = result;
Operational information
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.