UMULH

Data processing (register)

fixed bit field field the encoding fixes should be

Integer arithmetic mul widening 64 128hi

313029282726252423222120191817161514131211109876543210
10011011110Rm011111RnRd
URa

10011011110xxxxx011111xxxxxxxxxx

Decode Sail

let 'd = UInt(Rd);
let 'n = UInt(Rn);
let 'm = UInt(Rm);
let 'a = UInt(Ra);
let 'destsize = 64;
let 'datasize = destsize;
let is_unsigned : bool = U == 0b1;
execute_aarch64_instrs_integer_arithmetic_mul_widening_64_128hi(d, datasize, m, n, is_unsigned)

Operation Sail

let operand1 : bits('datasize) = X_read(n, datasize);
let operand2 : bits('datasize) = X_read(m, datasize);
let 'result = asl_Int(operand1, is_unsigned) * asl_Int(operand2, is_unsigned);
X_set(d, 64) = result[127 .. 64]

Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.