MultiplyAccumulate
Multiply-accumulate, often abbreviated MAC, refers to an operation that multiplies two numbers and adds the product to an accumulator. In many systems the canonical form is the simple state update y := y + (a × b). MAC operations are a fundamental primitive in digital signal processing, computer vision, and machine learning workloads because they efficiently combine multiplication and accumulation in a single step.
A MAC unit typically comprises a multiplier, an adder, and an accumulator. It may operate on fixed-point
MACs are central to many algorithms and applications. In digital signal processing, they implement finite impulse
Variants and related concepts include fused multiply-add (FMA), which computes (a × b) + c in one