vrsubhn

Vector Rounding Subtract High Narrow

VRSUBHN<c>.<dt> <Dd>, <Qn>, <Qm>

Subtracts wide elements, rounds, and returns high narrow half.

Details

The Vector Rounding Subtract High Narrow instruction subtracts wide elements, rounds, and returns high narrow half.

Pseudocode Operation

Dd ← Qn - Qm
// Flags affected: N, Z, C, V

Example

VRSUBHN.dt d0, q1, q2

Encoding

Binary Layout
11110010
1
sz
0
Vn
Vd
0110
N
0
M
1
Vm
 
Format NEON 3-Reg
Opcode 0xF2800610
Extension NEON (SIMD)

Operands

  • Dd
    Dest Narrow
  • Qn
    First source 128-bit SIMD register
  • Qm
    Second source 128-bit SIMD register