qdadd

Saturating Double and Add

QDADD<c> <Rd>, <Rm>, <Rn>

Doubles the second operand, adds to first, and saturates.

Details

The Saturating Double and Add instruction doubles the second operand, adds to first, and saturates.

Pseudocode Operation

Rd ← Rm + Rn
// Flags affected: N, Z, C, V

Example

QDADD r0, r2, r1

Encoding

Binary Layout
cond
00010100
Rn
Rd
00000101
Rm
 
Format Data Proc
Opcode 0x01400050
Extension A32 (Sat)

Operands

  • Rd
    Destination general-purpose register
  • Rm
    Second source / offset general-purpose register
  • Rn
    First source / base general-purpose register