saulecabrera opened PR #12010 from saulecabrera:fix-1991 to bytecodealliance:main:
Closes https://github.com/bytecodealliance/wasmtime/issues/11991
This commit fixes the register allocation ordering for
i8x16.popcnt. This change avoids having to deal wiht a potential spill when holding the scratch register scope by allocating the floating point register prior to the acquiring the scratch register.<!--
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 wasmtime-compiler-reviewers for a review on PR #12010.
saulecabrera requested cfallin for a review on PR #12010.
saulecabrera requested alexcrichton for a review on PR #12010.
saulecabrera requested wasmtime-core-reviewers for a review on PR #12010.
saulecabrera updated PR #12010.
alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #12010.
alexcrichton merged PR #12010.
Last updated: Jan 09 2026 at 13:15 UTC