Stream: git-wasmtime

Topic: wasmtime / PR #10232 asm: comprehend 1-, 2-, and 3-byte o...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 00:19):

abrown opened PR #10232 from abrown:assembler-opcodes to bytecodealliance:main:

How IA-32e describes and encodes opcodes is a bit confusing, but section 2.1.2 in the reference manual does a decent job explaining how the various prefixes, escape bytes, and primary/secondary opcodes may be used. This change uses this explanation to create what is essentially a parser for [u8]; this allows us to compactly express instruction definitions, e.g., rex([0x66, 0x25]). Improper use of this DSL syntax should result in an immediate compilation error when attempting to generate the assembler.

<!--
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 (Feb 14 2025 at 00:19):

abrown requested fitzgen for a review on PR #10232.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 00:19):

abrown requested wasmtime-compiler-reviewers for a review on PR #10232.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 01:11):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 15:55):

abrown updated PR #10232.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 17:17):

abrown updated PR #10232.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 17:18):

abrown updated PR #10232.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 17:19):

abrown has enabled auto merge for PR #10232.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2025 at 17:53):

abrown merged PR #10232.


Last updated: Feb 28 2025 at 02:27 UTC