Skip to content

VFMSUB

Operation

Performs fused multiply-subtract on corresponding active floating-point elements.

Assembler Syntax

VFMSUB.{H|S|D}(z) Pn(p), Vn(v), Vn(w), Vn(y)

Privilege

Unprivileged

Required CPUID flags

FP

VECTOR

VECTORFP

Each active H, S, or D lane forms the fused multiply-subtract expression from its two source elements and old accumulator destination element. The complete expression has unbounded intermediate range and precision and is rounded only once when written to the destination. An inactive accumulator lane retains its previous value.

2.75in

Encodings

VFMSUB.{H|S|D}(z) Pn(p), Vn(v), Vn(w), Vn(y)

Format: Instruction format for VFMSUB.{H|S|D}(z) Pn(p), Vn(v), Vn(w), Vn(y)

Format: Instruction format for VFMSUB.{H|S|D}(z) Pn(p), Vn(v), Vn(w), Vn(y)

sizeallowed: 0x1..0x3 [reserved_vector_element_type]