Stream: git-wasmtime

Topic: wasmtime / PR #6234 Add support for binary/octal literals...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 19:44):

alexcrichton opened PR #6234 from alexcrichton:binary-literals to bytecodealliance:main:

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.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 19:44):

alexcrichton requested abrown for a review on PR #6234.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 19:44):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #6234.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 19:59):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 20:00):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 22:48):

alexcrichton updated PR #6234.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 22:48):

alexcrichton has enabled auto merge for PR #6234.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2023 at 23:49):

alexcrichton merged PR #6234.


Last updated: Nov 22 2024 at 16:03 UTC