vsubhn

Vector Subtract High Narrow

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

Subtracts wide elements and returns high narrow half.

Details

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

Pseudocode Operation

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

Example

VSUBHN.dt d0, q1, q2

Encoding

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

Operands

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