16.91 MADD

Multiply-Add.

This instruction is used by the alias MUL.

Syntax

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

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

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.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.