fsub

Floating-Point Subtract (Half-Precision)

FSUB <Vd>.8H, <Vn>.8H, <Vm>.8H

Subtracts two half-precision floating-point vectors.

Details

The Floating-Point Subtract instruction subtracts two half-precision floating-point vectors.

Pseudocode Operation

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

Example

FSUB v0.4s.8H, v1.4s.8H, v2.4s.8H

Encoding

Binary Layout
01001110
101
11111
00010
Vm
Vn
Vd
 
Format NEON FP16
Opcode 0x4EA0D400
Extension FEAT_FP16 (NEON)

Operands

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