[RyuJIT Wasm] Cast Operations Follow Up#122862
Merged
adamperlin merged 33 commits intodotnet:mainfrom Jan 24, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Contributor
|
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara |
This was referenced Jan 7, 2026
Open
…some more casting cases; Add genFloatToIntCast
adamperlin
commented
Jan 14, 2026
adamperlin
commented
Jan 14, 2026
adamperlin
commented
Jan 14, 2026
521f043 to
c88d66b
Compare
AndyAyersMS
reviewed
Jan 14, 2026
d86e911 to
cc76584
Compare
Contributor
Author
|
@dotnet/jit-contrib Initial feedback should be implemented now so this is ready for another review pass! |
kg
reviewed
Jan 16, 2026
kg
reviewed
Jan 16, 2026
Co-authored-by: SingleAccretion <[email protected]>
Member
|
@adamperlin can you resolve the merge conflicts when you get a chance? Seems like this is close? |
…hit this code yet)
…untime into adamperlin/ryujit-wasm-cast
Contributor
Author
@AndyAyersMS yes! I've now resolved the merge conflicts and addressed the last bit of feedback. Please feel free to take another look! |
AndyAyersMS
approved these changes
Jan 23, 2026
Member
AndyAyersMS
left a comment
There was a problem hiding this comment.
Indentation is still a bit wonky in instrswasm.h but we can fix that the next time we modify that file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses some review feedback in #122301 and fills in more codegen for casts on Wasm.
Notably:
GenIntCastDescwas moved out of ifdefs and adapted for Wasm to support this. We don't yet support containment of casts in loads (i.e., theGenIntCastDesc::LOAD_*type casts).