Skip to content

scalar.fmaf

← scalar dialect

Fused multiply-add: a*b + c with single rounding.

Operation contract

Property Value
Semantic phase executable
Traits Pure

Signature

Kind Name Type Cardinality Description
Operand a float required —
Operand b float required —
Operand c float required —
Result result float required —
Attribute fastmath flags FastMathFlags optional —

Verification constraints

  • SameType(a, b, c, result)

Examples

%result = scalar.fmaf %a, %b, %c : f32