uaddv

SVE Unsigned Integer Add Reduction

UADDV <Vd>, <Pg>, <Zn>.<T>

Sums all active unsigned elements into a scalar result.

Details

The SVE Unsigned Integer Add Reduction instruction sums all active unsigned elements into a scalar result.

Pseudocode Operation

Vd ← Pg + Zn
// Flags affected: N, Z, C, V

Example

UADDV v0.4s, p0/m, z1.s.T

Encoding

Binary Layout
00000100
sz
001000
Pg
Zn
Vd
 
Format SVE Reduction
Opcode 0x04200000
Extension SVE

Operands

  • Vd
    Dest Scalar
  • Pg
    Mask
  • Zn
    Vector