fnmsub

Floating-Point Fused Negated Multiply-Subtract (Scalar)

FNMSUB <Hd|Sd|Dd>, <Hn|Sn|Dn>, <Hm|Sm|Dm>, <Ha|Sa|Da>

Calculates -((Vn * Vm) - Va).

Details

The Floating-Point Fused Negated Multiply-Subtract instruction calculates -((Vn * Vm) - Va).

Pseudocode Operation

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

Example

FNMSUB Dd, Dn, Dm, Da

Encoding

Binary Layout
00011111
type
Rm
1
Ra
Rn
Rd
 
Format FP Data Processing
Opcode 0x1F208000
Extension Floating Point

Operands

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