Stream: git-wasmtime

Topic: wasmtime / PR #12218 s390x: Emit 20bit immedate variants ...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 24 2025 at 15:30):

theotherjimmy opened PR #12218 from theotherjimmy:s390x-bxd20 to bytecodealliance:main:

Previously, cranelift did not emit memory operations using 20 bit immedates for reg + reg memory modes on s390x. This patch enables that in a type safe manner by exporting a few extractors for 20 bit immediates and changing the argument to the MemArg constructor for reg + reg addressing mode to accept that 20 bit offset instead of the u8 offset.

<!--
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 (Dec 24 2025 at 15:30):

theotherjimmy requested abrown for a review on PR #12218.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 24 2025 at 15:30):

theotherjimmy requested wasmtime-compiler-reviewers for a review on PR #12218.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 24 2025 at 15:32):

theotherjimmy updated PR #12218.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 24 2025 at 15:52):

theotherjimmy updated PR #12218.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 24 2025 at 17:45):

github-actions[bot] commented on PR #12218:

Subscribe to Label Action

cc @cfallin, @fitzgen

<details>
This issue or pull request has been labeled: "cranelift", "isle"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Dec 27 2025 at 04:05):

cfallin commented on PR #12218:

cc @uweigand -- would you mind taking a look?

view this post on Zulip Wasmtime GitHub notifications bot (Jan 07 2026 at 16:33):

uweigand commented on PR #12218:

Hi @theotherjimmy this makes sense in principle, but I have a couple of comments:

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

theotherjimmy commented on PR #12218:

Thanks for the review @uweigand

I think I'll rework this to write a new extractor with your suggested name, and migrate to that new extractor where we know the instructions support the extended offset. That should resolve your concerns.


Last updated: Jan 09 2026 at 13:15 UTC