Implement Smulhi for interpreter

Implemented `Smulhi` for the Cranelift interpreter, performing signed
integer multiplication and producing the high half of a double-length
result.

Copyright (c) 2021, Arm Limited
This commit is contained in:
dheaton-arm
2021-09-06 16:02:27 +01:00
parent 2412e8d784
commit 2f0ce4c86c
6 changed files with 94 additions and 32 deletions

View File

@@ -2469,8 +2469,7 @@ pub(crate) fn define(
Signed integer multiplication, producing the high half of a
double-length result.
Polymorphic over all scalar integer types, but does not support vector
types.
Polymorphic over all integer types (vector and scalar).
"#,
&formats.binary,
)