mls

Vector Multiply-Subtract

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

Multiplies elements and subtracts from destination (Vd = Vd - Vn * Vm).

Details

The Vector Multiply-Subtract instruction multiplies elements and subtracts from destination (Vd = Vd - Vn * Vm).

Pseudocode Operation

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

Example

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

Encoding

Binary Layout
0
Q
101110
size
10010
Rm
1001
Rn
Rd
 
Format SIMD Three Register
Opcode 0x2E209400
Extension NEON (SIMD)

Operands

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