cranelift: Disable select rule for i128 types on riscv64 (#5584)

* fuzzgen: Disable some selects for RISC-V

* cranelift: Force disable gen_select_reg rule for i128 values
This commit is contained in:
Afonso Bordado
2023-01-17 18:01:23 +00:00
committed by GitHub
parent b86cba98a9
commit 3ae373b073
3 changed files with 21 additions and 8 deletions

View File

@@ -602,13 +602,10 @@ fn valid_for_target(triple: &Triple, op: Opcode, args: &[Type], rets: &[Type]) -
// TODO
(Opcode::SelectSpectreGuard, &[I128]),
// https://github.com/bytecodealliance/wasmtime/issues/5526
(Opcode::SelectSpectreGuard, &[I64, I128, I128]),
// https://github.com/bytecodealliance/wasmtime/issues/5526
(Opcode::SelectSpectreGuard, &[I32, I128, I128]),
// https://github.com/bytecodealliance/wasmtime/issues/5526
(Opcode::SelectSpectreGuard, &[I16, I128, I128]),
// https://github.com/bytecodealliance/wasmtime/issues/5526
(Opcode::SelectSpectreGuard, &[I8, I128, I128]),
(Opcode::SelectSpectreGuard, &[_, I128, I128]),
// https://github.com/bytecodealliance/wasmtime/issues/5524
(Opcode::Select, &[I128]),
(Opcode::Select, &[_, I128, I128]),
// TODO
(Opcode::BandNot, &[F32, F32]),
(Opcode::BandNot, &[F64, F64]),