Files
wasmtime/cranelift/codegen
Chris Fallin 5c2c285dd7 Cranelift/x64: fix register allocator metadata for 8-bit divides. (#4332)
`idiv` on x86-64 only reads `rdx`/`edx`/`dx`/`dl` for divides with width
greater than 8 bits; for an 8-bit divide, it reads the whole 16-bit
divisor from `ax`, as our CISC ancestors intended. This PR fixes the
metadata to avoid a regalloc panic (due to undefined `rdx`) in this
case. Does not affect Wasmtime or other Wasm-frontend embedders.
2022-06-27 12:31:06 -07:00
..
2021-10-10 14:19:08 +02:00
2022-06-06 09:12:47 -05:00
2022-06-06 09:12:47 -05:00

This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.