abrown opened PR #10762 from abrown:asm-sse-shift to bytecodealliance:main:
<!--
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 wasmtime-compiler-reviewers for a review on PR #10762.
abrown requested cfallin for a review on PR #10762.
abrown submitted PR review.
abrown created PR review comment:
I don't really want to add this but, because of the type signatures of the
inst.isleconstructors I have to find a way to match on aXmmMemImminstead ofGprMemImm. One alternative to adding this would be to haveis_imm8examine the more generalRegMemImminstead, but this would mean the constructor types would have to change. Thoughts?
abrown edited PR review comment.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Poking around it looks like these shifting instructions are the only ones using
XmmMemImm, so perhaps we could drop that type entirely? All the various helpers seem to be usingmask_xmm_shiftand the current lowerings could dispatch to a helper taking theRegMemImmresult ofmask_xmm_shiftwhich handles the*Immcase to delegate to different constructors than when in theRegorMemcase?
github-actions[bot] commented on PR #10762:
Subscribe to Label Action
cc @cfallin, @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "isle"Thus the following users have been cc'd because of the following labels:
- cfallin: isle
- fitzgen: isle
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
cfallin submitted PR review:
LGTM with Alex's suggestion -- thanks!
alexcrichton closed without merge PR #10762.
alexcrichton commented on PR #10762:
I can also clarify I'm happy to see this landed as-is. @abrown mentioned he wanted to chat with me about my suggestion but I'm busy all this week and won't be back until next week so I think it's ok to land this as-is and follow-up as necessary if you'd like to @abrown
alexcrichton reopened PR #10762.
alexcrichton commented on PR #10762:
that was the wrong button...
abrown merged PR #10762.
Last updated: Dec 06 2025 at 06:05 UTC