Stream: git-wasmtime

Topic: wasmtime / PR #15158 cranelift: x64: implement packed sig...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 05:34):

NicolasStigler removed the review request for wasmtime-compiler-reviewers from PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 05:34):

NicolasStigler opened PR #15158 from NicolasStigler:main to bytecodealliance:main.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 05:34):

NicolasStigler requested cfallin for a review on PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 05:34):

NicolasStigler requested wasmtime-compiler-reviewers for a review on PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 05:38):

NicolasStigler edited PR #15158:

Fixes #3295

Why

The x64 backend had no lowering for sadd_sat on i32x4 or i64x2. Since x86 has no packed signed saturating-add instruction for those lane widths and there was no legalization fallback, these operations failed with an ISLE lowering error.

What changed

Testing

if everything looks fine ill proceed with #3296

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 07:44):

github-actions[bot] added the label cranelift:area:x64 on PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 07:44):

github-actions[bot] added the label cranelift on PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 16:56):

:thumbs_up: cfallin submitted PR review:

Thanks! Looks good -- just one question about the test below.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 16:56):

:speech_balloon: cfallin created PR review comment:

Is this supported on any of our other architectures? Let's add any that also work here to maximize coverage.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 18:02):

NicolasStigler updated PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 18:02):

:memo: NicolasStigler submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 18:02):

:speech_balloon: NicolasStigler created PR review comment:

Yes, aarch64 and riscv64+V support both i32x4 and i64x2, so I added those targets (including the has_c/has_zcb variants) and renamed the test to simd-saddsat-wide.clif (changed the name since now its not only x64). s390x only supports i32x4 (its lowering says i64x2 is unsupported) and Pulley only has i8x16/i16x8, so those aren’t included. Cross-compile checks pass for aarch64 and both riscv64 configurations, and cargo +1.97.0 test -p cranelift-tools --test filetests passes.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 18:03):

:speech_balloon: NicolasStigler edited PR review comment.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 18:04):

cfallin has enabled auto merge for PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 18:22):

cfallin added PR #15158 cranelift: x64: implement packed signed saturating addition - #3295 to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:03):

alexcrichton removed PR #15158 cranelift: x64: implement packed signed saturating addition - #3295 from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:03):

alexcrichton added PR #15158 cranelift: x64: implement packed signed saturating addition - #3295 to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:33):

:check: alexcrichton merged PR #15158.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:33):

alexcrichton removed PR #15158 cranelift: x64: implement packed signed saturating addition - #3295 from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC