-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[RyuJIT Wasm] Handle all codegen cases for PackedSimd.Shuffle #130991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adamperlin
merged 35 commits into
dotnet:main
from
adamperlin:adamperlin/wasm-basic-shuffle-codegen
Jul 25, 2026
+197
−5
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1050151
Add PackedSimd load/store mappings to table
adamperlin 45f618e
Fix OperIsMemory{Load,Store} for PackedSimd operations
adamperlin 7fd077a
Implement SIMD element-wise load/store codegen
adamperlin 00c8430
Merge branch 'main' into adamperlin/wasm-simd-loads-stores
adamperlin f9504c5
Properly lower PackedSimd.Shuffle with non-constant operands
adamperlin 8d07863
Enable null checks for PackedSimd loads/stores
adamperlin 0df646a
Apply suggestions from code review
adamperlin 6ddbd32
Add PackedSimdTests to exercise null check for loads/stores
adamperlin b9e3468
Merge branch 'main' into adamperlin/wasm-simd-loads-stores
adamperlin f1f45ce
jit-format
adamperlin 842bb15
Merge branch 'main' into adamperlin/wasm-basic-shuffle-codegen
adamperlin d53c1cc
Add header comment
adamperlin 7fd3953
Merge branch 'main' into adamperlin/wasm-simd-loads-stores
adamperlin e78535b
Fix segfault in release: move side effecting statement out of assert()
adamperlin bdbba8c
jit-format
adamperlin 6709418
Merge branch 'main' into adamperlin/wasm-simd-loads-stores
adamperlin 27bf104
Apply suggestions from code review
adamperlin 66691cd
Merge branch 'adamperlin/wasm-simd-loads-stores' into adamperlin/wasm…
adamperlin 246ed1e
Merge branch 'main' into adamperlin/wasm-basic-shuffle-codegen
adamperlin 726aa2b
Fix immediate operand position unset bug for shuffle
adamperlin 067c299
More review feedback
adamperlin 3b00dc3
More review feedback: handle shuffle masks that aren't in bounds
adamperlin 437223f
Merge remote-tracking branch 'upstream/main' into adamperlin/wasm-bas…
adamperlin d925633
jit-format
adamperlin 4ed524f
Revert accidental diff
adamperlin 2656ed4
Fix bad stack ordering in shuffle fallback codegen
adamperlin 506a771
Apply suggestions from code review
adamperlin a546d72
Separate out fetching PackedSimd.Shuffle immediate from GetImmOp() fo…
adamperlin d684659
Merge branch 'main' into adamperlin/wasm-basic-shuffle-codegen
adamperlin 5fb29db
Emit range check around PackedSimd.Shuffle mask
adamperlin 1ccc347
jit-format
adamperlin 90adaee
Adjust comments
adamperlin 20ce696
Reset state of PackedSimdTests.cs
adamperlin b03f851
Cleanup and copilot feedback
adamperlin 48ec254
Fix comment
adamperlin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.