MarinPostma opened PR #10170 from MarinPostma:packed-integer-arithmetic-pt2 to bytecodealliance:main:
implements the following instructions for winch x64 backend:
i8x16.negi16x8.negi32x4.negi64x2.negi8x16.shli16x8.shli32x4.shli64x2.shli8x16.shr_si16x8.shr_si32x4.shr_si64x2.shr_si8x16.shr_ui16x8.shr_ui32x4.shr_ui64x2.shr_udepends on #10147
#8093
MarinPostma requested wasmtime-compiler-reviewers for a review on PR #10170.
MarinPostma requested cfallin for a review on PR #10170.
MarinPostma requested wasmtime-core-reviewers for a review on PR #10170.
MarinPostma requested pchickey for a review on PR #10170.
MarinPostma requested wasmtime-default-reviewers for a review on PR #10170.
MarinPostma edited PR #10170:
implements the following instructions for winch x64 backend:
i8x16.negi16x8.negi32x4.negi64x2.negi8x16.shli16x8.shli32x4.shli64x2.shli8x16.shr_si16x8.shr_si32x4.shr_si64x2.shr_si8x16.shr_ui16x8.shr_ui32x4.shr_ui64x2.shr_udepends on #10147
One thing that we may improve is the handling of constants: My initial implementation introduced
WellKnownaddresses, because this is how cranelift implemented shifts. I revised that later on, to keep things simple, and used the constant infrastructure already present in winch. The use of well known constant addresses _may_ be more efficient, if we decided to use them. Happy to do that in a followup.#8093
MarinPostma updated PR #10170.
MarinPostma edited PR #10170:
implements the following instructions for winch x64 backend:
i8x16.negi16x8.negi32x4.negi64x2.negi8x16.shli16x8.shli32x4.shli64x2.shli8x16.shr_si16x8.shr_si32x4.shr_si64x2.shr_si8x16.shr_ui16x8.shr_ui32x4.shr_ui64x2.shr_uOne thing that we may improve is the handling of constants: My initial implementation introduced
WellKnownaddresses, because this is how cranelift implemented shifts. I revised that later on, to keep things simple, and used the constant infrastructure already present in winch. The use of well known constant addresses _may_ be more efficient, if we decided to use them. Happy to do that in a followup.#8093
github-actions[bot] commented on PR #10170:
Subscribe to Label Action
cc @saulecabrera
<details>
This issue or pull request has been labeled: "wasmtime:api", "wasmtime:docs", "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>
cfallin requested saulecabrera for a review on PR #10170.
cfallin commented on PR #10170:
Passing the review baton again to Saúl -- thanks!
MarinPostma has marked PR #10170 as ready for review.
saulecabrera submitted PR review:
Looks reasonable to me, thanks!
saulecabrera commented on PR #10170:
The failure is because in main
xmm_rmi_rvexno longer exists.
MarinPostma commented on PR #10170:
@saulecabrera rebased
MarinPostma updated PR #10170.
saulecabrera merged PR #10170.
Last updated: Dec 06 2025 at 06:05 UTC