You copied the Doc URL to your clipboard.

16.83 MNEG

Multiply-Negate.

This instruction is an alias of MSUB.

Syntax

MNEG Wd, Wn, Wm ; 32-bit general registers

Equivalent to MSUB Wd, Wn, Wm, WZR.

MNEG Xd, Xn, Xm ; 64-bit general registers

Equivalent to MSUB Xd, Xn, Xm, XZR.

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.

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.

Operation

Multiply-Negate multiplies two register values, negates the product, and writes the result to the destination register.

Rd = -(Rn * Rm), where R is either W or X.

Was this page helpful? Yes No