addv

Vector Add Across

ADDV <V><d>, <Vn>.<T>

Adds all elements of the vector into a scalar result.

Details

The Vector Add Across instruction adds all elements of the vector into a scalar result.

Pseudocode Operation

Vd ← Vn + SRC2
// Flags affected: N, Z, C, V

Example

ADDV Vd, v1.4s.T

Encoding

Binary Layout
0
Q
001110
size
11000
10111
10
Rn
Rd
 
Format SIMD Across Lane
Opcode 0x0E31B800
Extension NEON (SIMD)

Operands

  • Vd
    Dest Scalar
  • Vn
    Src Vector