16.92 MNEG

Multiply-Negate.

This instruction is an alias of MSUB.

The equivalent instruction is MSUB Wd, Wn, Wm, WZR.

Syntax

MNEG Wd, Wn, Wm ; 32-bit

MNEG Xd, Xn, Xm ; 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.
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.

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