alexcrichton opened PR #6565 from alexcrichton:remove-fcvt-low-from-sint to bytecodealliance:main:
This commit removes this instruction since it's a combination of
swiden_lowplusfcvt_from_sint. This was used by the WebAssemblyf64x2.convert_low_i32x4_sinstruction previously but the corresponding unsigned variant of the instruction,f64x2.convert_low_i32x4_u, used auwiden_lowplusfcvt_from_uintcombo. To help simplify Cranelift's instruction set and to make these two instructions mirrors of each other the Cranelift instruction is removed.The s390x and AArch64 backend lowering rules for this instruction could simply be deleted as the previous combination of the
swiden_lowandfcvt_from_sintlowering rules produces the same code. The x64 backend moved its lowering to a special case of thefcvt_from_sintlowering.<!--
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
-->
alexcrichton requested abrown for a review on PR #6565.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #6565.
alexcrichton updated PR #6565.
jameysharp submitted PR review:
It's always nice to get rid of CLIF instructions and this one looks to have been remarkably painless. Thank you!
alexcrichton merged PR #6565.
Last updated: Dec 06 2025 at 06:05 UTC