Files
wasmtime/cranelift/codegen/src
Afonso Bordado 7e94704264 riscv64: Add masking for small types when lowering select (#5504)
When lowering `select+icmp` we have an optimization that allows us to
avoid materializing the icmp result.

We were accidentally not masking the high bits for i8 and i16 in this case.

Issue #5498 reported this as an illegal instruction but what was happening
there was that the invalid select caused a division by zero.
2023-01-03 19:59:14 +00:00
..
2019-10-24 17:20:12 -07:00
2022-12-09 13:42:03 -08:00