UMULH

Unsigned multiply high

This instruction multiplies two 64-bit register values, and writes bits[127:64] of the 128-bit result to the 64-bit destination register.

Encoding: 64-bit

313029282726252423222120191817161514131211109876543210
100110111100(1)(1)(1)(1)(1)
sfop54URmo0RaRnRd

UMULH <Xd>, <Xn>, <Xm>

Decoding algorithm

constant integer d = UInt(Rd);
constant integer n = UInt(Rn);
constant integer m = UInt(Rm);

Operation

constant bits(64) operand1 = X[n, 64];
constant bits(64) operand2 = X[m, 64];

constant integer result = UInt(operand1) * UInt(operand2);

X[d, 64] = result<127:64>;

Explanations

<Xd>: Is the 64-bit name of the general-purpose destination register, encoded in the "Rd" field.
<Xn>: Is the 64-bit name of the first general-purpose source register holding the multiplicand, encoded in the "Rn" field.
<Xm>: Is the 64-bit name of the second general-purpose source register holding the multiplier, encoded in the "Rm" field.

Operational Notes

If PSTATE.DIT is 1: