Files
wasmtime/cranelift/codegen
Alex Crichton b6bb6a196a Add support for binary/octal literals to ISLE (#6234)
* Add support for binary/octal literals to ISLE

In a number of x64-changes recently some u8 immediates are interpreted
as four bit-packed 2-bit numbers and I have a tough time going between
hex and these bit-packed numbers. I've been writing `0xAA == 0b...` in
comments to indicate the intent but I figured it'd be a bit clearer if
the binary literal was accepted directly!

This is a minor update to the ISLE lexer to allow for binary `0b00...`
and octal `0o00...` literals in the same manner as hex literals. Some
comments in the x64 backend are then removed to use the binary literal
syntax directly.

* Update ISLE reference for octal/binary

* Update ISLE tests for octal/binary
2023-04-18 23:04:04 +00:00
..
2023-04-17 15:53:34 +00:00
2023-04-05 17:06:36 +00:00

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