Stream: git-wasmtime

Topic: wasmtime / PR #14942 Cranelift: zero-extend RISC-V swizzl...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 17:17):

ColonelToad opened PR #14942 from ColonelToad:fix/14691-riscv64-swizzle-splat-zext to bytecodealliance:main:

Fixes #14691.

vrgather.vx uses the full scalar register as the vector index, but the upper bits of an i8/i16/i32 value are not guaranteed to be zero. Zero-extend the splat index before lowering so out-of-range upper bits cannot change the result.

Added RISC-V ISA expectations and a runtime regression test using a dirty upper byte.

Tests:

The RISC-V runtime portion is covered by the QEMU CI job.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 17:17):

ColonelToad removed the review request for wasmtime-compiler-reviewers from PR #14942.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 17:17):

ColonelToad requested fitzgen for a review on PR #14942.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 17:17):

ColonelToad requested wasmtime-compiler-reviewers for a review on PR #14942.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 19:45):

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

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 19:56):

:thumbs_up: fitzgen submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 19:56):

fitzgen added PR #14942 Cranelift: zero-extend RISC-V swizzle splat index to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 20:50):

fitzgen removed PR #14942 Cranelift: zero-extend RISC-V swizzle splat index from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2026 at 20:50):

:check: fitzgen merged PR #14942.


Last updated: Oct 31 2026 at 23:03 UTC