cranelift: Implement ineg.i128 for everyone (#5129)

* cranelift: Add `ineg` runtests

* aarch64: Implement `ineg.i128`

* x64: Implement `ineg.i128`

* riscv: Implement `ineg.i128`

* fuzzgen: Enable `ineg.i128`
This commit is contained in:
Afonso Bordado
2022-10-29 00:10:00 +01:00
committed by GitHub
parent 81f7ef7fbe
commit 879b52825f
9 changed files with 127 additions and 20 deletions

View File

@@ -282,10 +282,6 @@ const OPCODE_SIGNATURES: &'static [(
(Opcode::Ineg, &[I16, I16], &[I16], insert_opcode),
(Opcode::Ineg, &[I32, I32], &[I32], insert_opcode),
(Opcode::Ineg, &[I64, I64], &[I64], insert_opcode),
// ineg.i128 not implemented in some backends:
// x64: https://github.com/bytecodealliance/wasmtime/issues/5105
// aarch64: https://github.com/bytecodealliance/wasmtime/issues/5108
#[cfg(not(any(target_arch = "x86_64", target_arch = "aarch64")))]
(Opcode::Ineg, &[I128, I128], &[I128], insert_opcode),
// Imin
// imin not implemented in some backends: