Broadcast indexed element within each quadword vector segment (unpredicated)
Unconditionally broadcast 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).
Variants: FEAT_SVE2p1 || FEAT_SME2p1 (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 | 0 | 0 | 1 | 0 | 0 | 1 | |||||||||||||||
i1 | tsz | Zn | Zd |
---|
DUPQ <Zd>.<T>, <Zn>.<T>[<imm>]
if !IsFeatureImplemented(FEAT_SVE2p1) && !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); if tsz == '0000' then EndOfDecode(Decode_UNDEF); constant integer lsb = LowestSetBit(tsz); constant integer esize = 8 << lsb; constant bits(5) imm = i1:tsz; constant integer index = UInt(imm<4:(lsb+1)>); constant integer n = UInt(Zn); constant integer d = UInt(Zd);
CheckSVEEnabled(); constant integer VL = CurrentVL; constant integer segments = VL DIV 128; constant integer elements = 128 DIV esize; constant bits(VL) operand = Z[n, VL]; bits(VL) result; bits(esize) element; for s = 0 to segments-1 element = Elem[operand, s * elements + index, esize]; Elem[result, s, 128] = Replicate(element, 128 DIV esize); Z[d, VL] = result;
If PSTATE.DIT is 1: