Stream: git-wasmtime

Topic: wasmtime / PR #10580 asm: replace flag-using ALU instruct...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2025 at 23:37):

abrown opened PR #10580 from abrown:asm-flags to bytecodealliance:main:

This change replaces ISLE lowerings for the ProducesFlags and ConsumesFlags wrappers with instructions from the new assembler. This is a necessary step towards fully using the new assembler for ALU instructions (AluRmiR is only used for zeroing registers now).

A couple items of note:

<!--
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 15 2025 at 20:56):

abrown updated PR #10580.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:56):

abrown has marked PR #10580 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:56):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:56):

abrown requested cfallin for a review on PR #10580.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 23:03):

cfallin submitted PR review:

Nice! I like the factoring here -- once the low-level helpers are out of the way, the application of this to each instruction is pretty straightforward.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 23:03):

cfallin created PR review comment:

Can we add a comment here that this should only be provided an instruction that actually produces flags, and is meant to be used by helpers that bind it with explicit instructions? In other words, it's semantically "unsafe" in the Rust sense and has to be used in the right way to uphold invariants.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2025 at 17:44):

abrown updated PR #10580.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2025 at 17:44):

abrown has enabled auto merge for PR #10580.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2025 at 18:24):

abrown merged PR #10580.


Last updated: Dec 06 2025 at 07:03 UTC