Add x86 encoding for SIMD imul

Only i16x8 and i32x4 are encoded in this commit mainly because i8x16 and i64x2 do not have simple encodings in x86. i64x2 is not required by the SIMD spec and there is discussion (https://github.com/WebAssembly/simd/pull/98#issuecomment-530092217) about removing i8x16.
This commit is contained in:
Andrew Brown
2019-09-18 14:44:06 -07:00
parent 168ad7fda3
commit 630cb3ee62
5 changed files with 67 additions and 4 deletions

View File

@@ -1722,8 +1722,7 @@ pub(crate) fn define(
Wrapping integer multiplication: `a := x y \pmod{2^B}`.
This instruction does not depend on the signed/unsigned interpretation
of the
operands.
of the operands.
Polymorphic over all integer types (vector and scalar).
"#,