Stream: git-wasmtime

Topic: wasmtime / PR #10949 x64: fix `scalar_to_vector` with `i1...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 06 2025 at 02:50):

abrown opened PR #10949 from abrown:fix-10906 to bytecodealliance:main:

This fixes an issue introduced in #9045 where the XMM register used as an i16x8 destination for scalar_to_vector is not properly zeroed prior to moving the i16 there. This means that uninitialized bits from previous instructions are readable in the top lanes of the destination. The fix for this miscompilation is to zero the XMM register prior to moving the i16 to the XMM.

Fixes #10906.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 06 2025 at 02:50):

abrown requested fitzgen for a review on PR #10949.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 06 2025 at 02:50):

abrown requested wasmtime-compiler-reviewers for a review on PR #10949.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 06 2025 at 17:13):

fitzgen submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Jun 06 2025 at 17:35):

fitzgen merged PR #10949.


Last updated: Dec 06 2025 at 06:05 UTC