fsub

Vector Floating-Point Subtract

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

Subtracts elements of floating-point vectors.

Details

The Vector Floating-Point Subtract instruction subtracts elements of floating-point vectors.

Pseudocode Operation

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

Example

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

Encoding

Binary Layout
0
Q
001110
1
sz
1
Rm
1101
0
Rn
Rd
 
Format SIMD Three Register
Opcode 0x0E20D400
Extension NEON (SIMD)

Operands

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