Stream: git-wasmtime

Topic: wasmtime / PR #12982 aarch64: Fix ABI layout calculation ...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 17:36):

alexcrichton opened PR #12982 from alexcrichton:fix-aarch64-stack-abi to bytecodealliance:main:

This commit fixes an issue in the ABI layout calculated for the apple_aarch64 calling convention when stack-returns are present with sign extensions. In this situation the machinst code would load/store a full pointer-width but the aarch64 ABI calculation would only allocate a type's width for the slot. The fix in this PR is to skip the logic for "slot sized to the type" and instead use the minimum 8 bytes for extended arguments.

<!--
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 07 2026 at 17:36):

alexcrichton requested fitzgen for a review on PR #12982.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 17:36):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 18:28):

alexcrichton updated PR #12982.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 19:31):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 19:31):

fitzgen added PR #12982 aarch64: Fix ABI layout calculation for apple_aarch64 to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 20:02):

github-merge-queue[bot] removed PR #12982 aarch64: Fix ABI layout calculation for apple_aarch64 from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 20:14):

alexcrichton updated PR #12982.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 20:14):

alexcrichton has enabled auto merge for PR #12982.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 20:37):

alexcrichton added PR #12982 aarch64: Fix ABI layout calculation for apple_aarch64 to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 21:02):

alexcrichton merged PR #12982.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2026 at 21:02):

alexcrichton removed PR #12982 aarch64: Fix ABI layout calculation for apple_aarch64 from the merge queue.


Last updated: Apr 12 2026 at 23:10 UTC