This is a mirror of the original site (arm.jonpalmisc.com), which was taken down.
Hosted on IPFS, storage on Filebase.
Add pairwise within quadword vector segments (unpredicated)
This instruction adds pairs of adjacent elements within each concatenated pair of 128-bit segments of the first and second source vectors, and places the results in the corresponding 128-bit segment of the destination vector.
This instruction is 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 | 0 | size | 1 | Zm | 0 | 1 | 1 | 1 | 1 | 0 | Zn | Zd | |||||||||||||
if !IsFeatureImplemented(FEAT_SVE2p3) && !IsFeatureImplemented(FEAT_SME2p3) then EndOfDecode(Decode_UNDEF); end; let esize : integer{} = 8 << UInt(size); let n : integer = UInt(Zn); let m : integer = UInt(Zm); 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 first source scalable vector register, encoded in the "Zn" field. |
| <Zm> |
Is the name of the second source scalable vector register, encoded in the "Zm" field. |
CheckSVEEnabled(); let VL : integer{} = CurrentVL(); let segments : integer = VL DIV 128; let elempersegment : integer = 128 DIV esize; let operand1 : bits(VL) = Z{}(n); let operand2 : bits(VL) = Z{}(m); var result : bits(VL); for s = 0 to segments-1 do let seg1 : bits(128) = operand1[s*:128]; let seg2 : bits(128) = operand2[s*:128]; let concat : bits(256) = seg2::seg1; for e = 0 to elempersegment-1 do let element1 : bits(esize) = concat[(2*e + 0)*:esize]; let element2 : bits(esize) = concat[(2*e + 1)*:esize]; result[(s*elempersegment + e)*:esize] = element1 + element2; end; end; 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.