Stream: git-wasmtime

Topic: wasmtime / PR #10888 winch(aarch64): implify constant han...


view this post on Zulip Wasmtime GitHub notifications bot (May 31 2025 at 20:58):

saulecabrera opened PR #10888 from saulecabrera:winch-aarch64-constant-pool to bytecodealliance:main:

This commit is the first step toward simplifying constant handling,
particularly for the aarch64 backend.

The main highlights in this patch are:

The main motivation behind this change is to _eventually_ detach the
implicit usage of the scatch register from constant loading as much as
possible, reducing the possibility of subtle bugs (like the one
described in https://github.com/bytecodealliance/wasmtime/pull/10829).

Note that I have a work-in-progress branch from where all these
changes are cherry picked from, to make everything easier to review.

A side effect of this change, is the improvement to the code
generation involving floating point constants. Prior to this change,
multiple moves were involved, with this patch, at most 1 move is
required and at worst one load is required.

<!--
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 (May 31 2025 at 20:58):

saulecabrera requested abrown for a review on PR #10888.

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2025 at 20:58):

saulecabrera requested wasmtime-compiler-reviewers for a review on PR #10888.

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2025 at 20:58):

saulecabrera requested alexcrichton for a review on PR #10888.

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2025 at 20:58):

saulecabrera requested wasmtime-core-reviewers for a review on PR #10888.


Last updated: Dec 06 2025 at 06:05 UTC