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_low
plusfcvt_from_sint
. This was used by the WebAssemblyf64x2.convert_low_i32x4_s
instruction previously but the corresponding unsigned variant of the instruction,f64x2.convert_low_i32x4_u
, used auwiden_low
plusfcvt_from_uint
combo. 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_low
andfcvt_from_sint
lowering rules produces the same code. The x64 backend moved its lowering to a special case of thefcvt_from_sint
lowering.<!--
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: Nov 22 2024 at 17:03 UTC