Files
wasmtime/cranelift/codegen
Benjamin Bouvier 3849dc18b1 machinst x64: revamp integer immediate emission;
In particular:

- try to optimize the integer emission into a 32-bit emission, when the
high bits are all zero, and stop relying on the caller of `imm_r` to
ensure this.
- rename `Inst::imm_r`/`Inst::Imm_R` to `Inst::imm`/`Inst::Imm`.
- generate a sign-extending mov 32-bit immediate to 64-bits, whenever
possible.
- fix a few places where the previous commit did introduce the
generation of zero-constants with xor, when calling `put_input_to_reg`,
thus clobbering the flags before they were read.
2020-09-11 18:13:30 +02:00
..
2020-08-07 10:08:44 -07:00
2020-07-24 19:29:12 +02:00
2020-08-18 09:51:35 -07:00

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