abrown opened PR #11465 from abrown:asm-use-encodings to bytecodealliance:main:
While exploring the possibility of extending the set of x86 registers available to Cranelift, I noticed some opportunities for improvement:
- this change uses on the assembler's
encmodules for the "hardware encoding source of truth" instead of an older implementation incranelift-codegenand/or raw integers.- this change uses the assembler's pretty printing instead of multiple implementations in
cranelift-codegenWith this in place, it should be more clear where to implement new registers.
<!--
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
-->
abrown requested wasmtime-compiler-reviewers for a review on PR #11465.
abrown requested alexcrichton for a review on PR #11465.
alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #11465.
alexcrichton merged PR #11465.
Last updated: Dec 06 2025 at 07:03 UTC