Skip to content

FNMSUB

Operation

Computes the old destination minus the source product as one fused operation and rounds once.

Assembler Syntax

FNMSUB.{S|D}(z) Fn(l), Fn(r), Fn(d)

FNMSUB.{S|D}(z) <ea>(l), Fn(r), Fn(d)

FNMSUB.{S|D}(z) Fn(l), <ea>(r), Fn(d)

Privilege

Unprivileged

Required CPUID flags

FP

Repeat eligibility

REP eligible

Computes the selected-format old destination minus the source product as one fused operation, rounds once, and writes the result to the destination.

2.75in

Encodings

FNMSUB.{S|D}(z) Fn(l), Fn(r), Fn(d)

Format: Instruction format for FNMSUB.{S|D}(z) Fn(l), Fn(r), Fn(d)

Format: Instruction format for FNMSUB.{S|D}(z) Fn(l), Fn(r), Fn(d)

2.75in FNMSUB.{S|D}(z) <ea>(l), Fn(r), Fn(d)

Format: Instruction format for FNMSUB.{S|D}(z) <ea>(l), Fn(r), Fn(d)

Format: Instruction format for FNMSUB.{S|D}(z) <ea>(l), Fn(r), Fn(d)

2.75in FNMSUB.{S|D}(z) Fn(l), <ea>(r), Fn(d)

Format: Instruction format for FNMSUB.{S|D}(z) Fn(l), <ea>(r), Fn(d)

Format: Instruction format for FNMSUB.{S|D}(z) Fn(l), <ea>(r), Fn(d)