riscv64: Enable more instructions in the fuzzer (#6271)

These have been fixed in the past, and I've been forgeting to re-enable them.
This commit is contained in:
Afonso Bordado
2023-04-25 12:03:16 +01:00
committed by GitHub
parent a1732b2906
commit 5113739601

View File

@@ -699,26 +699,21 @@ fn valid_for_target(triple: &Triple, op: Opcode, args: &[Type], rets: &[Type]) -
(Opcode::Bswap), (Opcode::Bswap),
// https://github.com/bytecodealliance/wasmtime/issues/5528 // https://github.com/bytecodealliance/wasmtime/issues/5528
( (
Opcode::FcvtToUint Opcode::FcvtToUint | Opcode::FcvtToSint,
| Opcode::FcvtToUintSat [F32 | F64],
| Opcode::FcvtToSint &[I128]
| Opcode::FcvtToSintSat, ),
(
Opcode::FcvtToUintSat | Opcode::FcvtToSintSat,
&[F32 | F64], &[F32 | F64],
&[I8 | I16 | I128] &[I8 | I16 | I128]
), ),
// https://github.com/bytecodealliance/wasmtime/issues/5528 // https://github.com/bytecodealliance/wasmtime/issues/5528
( (
Opcode::FcvtFromUint | Opcode::FcvtFromSint, Opcode::FcvtFromUint | Opcode::FcvtFromSint,
&[I8 | I16 | I128], &[I128],
&[F32 | F64] &[F32 | F64]
), ),
// TODO
(
Opcode::BandNot | Opcode::BorNot | Opcode::BxorNot,
&([F32, F32] | [F64, F64])
),
// https://github.com/bytecodealliance/wasmtime/issues/5884
(Opcode::AtomicRmw),
) )
} }