afonso360 requested cfallin for a review on PR #8777.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #8777.
afonso360 opened PR #8777 from afonso360:x64-load-extends
to bytecodealliance:main
:
:wave: Hey,
This PR adds support for load sinking in extend instructions on the x64 backend. These were pretty much already supported, but by default the x64 backend doesn't load sink small types. (It'd be neat to fix that at some point)
The only change here is to allow it to do so for
movzx
andmovsx
. These instructions have the correct implementation for small types and shouldn't try to perform a load larger than the source type.This should also be the last backend that needs this implementation, s390x already supports this, so the next PR in this series is removing the
{u,s}loadNN
instructions from cranelift.CC: https://github.com/bytecodealliance/wasmtime/issues/6056
cfallin submitted PR review:
LGTM, thanks!
cfallin merged PR #8777.
Last updated: Nov 22 2024 at 17:03 UTC