abrown opened PR #10779 from abrown:asm-sse-cvt to bytecodealliance:main:
x86 CPUs have a set of conversions of the form:
cvt{from}2{to}, wherefromandtocan be various XMM-held types (e.g.,ss,ps,si, etc.). These also have their truncating versions,cvtt*`. This change defines all of the instructions Cranelift needs (there are a few more) and wires them up in ISLE and in various emitted sequences. For these sequences, this chooses to factor out the choice of instruction into a closure since we no longer can pass around an opcode.<!--
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 fitzgen for a review on PR #10779.
abrown requested wasmtime-compiler-reviewers for a review on PR #10779.
github-actions[bot] commented on PR #10779:
Subscribe to Label Action
cc @saulecabrera
<details>
This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "winch"Thus the following users have been cc'd because of the following labels:
- saulecabrera: winch
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
abrown updated PR #10779.
alexcrichton submitted PR review.
alexcrichton merged PR #10779.
Last updated: Dec 06 2025 at 06:05 UTC