You copied the Doc URL to your clipboard.

16.82 MADD

Multiply-Add.

This instruction is used by the alias MUL.

Syntax

MADD Wd, Wn, Wm, Wa ; 32-bit general registers

MADD Xd, Xn, Xm, Xa ; 64-bit general registers

Where:

Wd

Is the 32-bit name of the general-purpose destination register.

Wn

Is the 32-bit name of the first general-purpose source register holding the multiplicand.

Wm

Is the 32-bit name of the second general-purpose source register holding the multiplier.

Wa

Is the 32-bit name of the third general-purpose source register holding the addend.

Xd

Is the 64-bit name of the general-purpose destination register.

Xn

Is the 64-bit name of the first general-purpose source register holding the multiplicand.

Xm

Is the 64-bit name of the second general-purpose source register holding the multiplier.

Xa

Is the 64-bit name of the third general-purpose source register holding the addend.

Operation

Multiply-Add multiplies two register values, adds a third register value, and writes the result to the destination register.

Rd = Ra + Rn * Rm, where R is either W or X.

Was this page helpful? Yes No