saulecabrera opened PR #11063 from saulecabrera:winch-x64-fix-utruncate to bytecodealliance:main:
With the introduction of the scratch register scope, it's safer to acquire and work with such registers, however it's crucial to delay the acquisition of such registers as close as possible to emission time, to avoid introducing conflicts with other operations that might also require them. This commit defers the acquisition of the scratch registers until after the temporary register for the convert operation has been allocated, fixing potential conflicts in case of a spill.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
saulecabrera requested abrown for a review on PR #11063.
saulecabrera requested wasmtime-compiler-reviewers for a review on PR #11063.
saulecabrera requested wasmtime-core-reviewers for a review on PR #11063.
saulecabrera requested dicej for a review on PR #11063.
abrown submitted PR review.
saulecabrera merged PR #11063.
Last updated: Dec 06 2025 at 06:05 UTC