Stream: git-wasmtime

Topic: wasmtime / PR #13829 winch(x64): Avoid undefined behavior...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 06 2026 at 19:35):

saulecabrera requested wasmtime-compiler-reviewers for a review on PR #13829.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 06 2026 at 19:37):

saulecabrera requested wasmtime-core-reviewers for a review on PR #13829.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 06 2026 at 19:44):

saulecabrera requested fitzgen for a review on PR #13829.

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

saulecabrera opened PR #13829 from saulecabrera:winch-fix-clz-ctz to bytecodealliance:main:

Fixes https://github.com/bytecodealliance/wasmtime/issues/13746

Optimizes the fallback sequence emitted in clz/ctz for the x64 backend, emitting a conditional move to ensure that the destination register is always defined when the source register is zero.

<!--
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 (Jul 06 2026 at 20:01):

:thumbs_up: fitzgen submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Jul 06 2026 at 20:01):

fitzgen added PR #13829 winch(x64): Avoid undefined behavior on ctz/clz to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 06 2026 at 20:26):

:check: fitzgen merged PR #13829.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 06 2026 at 20:26):

fitzgen removed PR #13829 winch(x64): Avoid undefined behavior on ctz/clz from the merge queue.


Last updated: Jul 29 2026 at 05:03 UTC