uqsub

Vector Unsigned Saturating Subtract

UQSUB <Vd>.<T>, <Vn>.<T>, <Vm>.<T>

Subtracts unsigned integers with saturation.

Details

The Vector Unsigned Saturating Subtract instruction subtracts unsigned integers with saturation.

Pseudocode Operation

Vd ← Vn - Vm
// Flags affected: N, Z, C, V

Example

UQSUB v0.4s.T, v1.4s.T, v2.4s.T

Encoding

Binary Layout
0
Q
101110
size
00101
Rm
0000
Rn
Rd
 
Format SIMD Three Register
Opcode 0x2E202C00
Extension NEON (SIMD)

Operands

  • Vd
    Destination SIMD/FP vector register
  • Vn
    First source SIMD/FP vector register
  • Vm
    Second source SIMD/FP vector register