vsub

Vector Subtract (VFP)

VSUB<c>.F32 <Sd>, <Sn>, <Sm>

Subtracts two floating-point values.

Details

The Vector Subtract instruction subtracts two floating-point values.

Pseudocode Operation

Sd ← Sn - Sm
// Flags affected: N, Z, C, V

Example

VSUB.F32 s0, s1, s2

Encoding

Binary Layout
cond
11100011
0
D
Vn
Vd
1010
N
1
M
Vm
 
Format VFP Arith
Opcode 0x0E300A40
Extension VFP (Float)

Operands

  • Sd
    Destination 32-bit floating-point register
  • Sn
    First source 32-bit floating-point register
  • Sm
    Second source 32-bit floating-point register