-
Notifications
You must be signed in to change notification settings - Fork 5.3k
JIT: Unroll Equals and StartsWith for constant strings and spans. [0..32] chars #65288
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
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
41a57d2
Unroll & vectorize String.Equals
EgorBo e7106d6
fix bug
EgorBo 2985162
StartsWith, clean up
EgorBo 4047ce5
Update importer.cpp
EgorBo 7d88960
fix build errors
EgorBo 486d384
formatting
EgorBo 8d4bc7e
Add Spans, move everything to a separate file
EgorBo 87fa3bf
Clean up, more comments
EgorBo 8dc111b
fix typos, clean up
EgorBo c9658dc
Address feedback
EgorBo 6f29646
Use IND for simd loads
EgorBo 210c4f1
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo c8826ee
Address feedback
EgorBo 9c8033f
fix assert
EgorBo 08ab8e2
formatting
EgorBo 4cf0b96
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo 39b6151
How is MemoryExtensions.AsSpan(string,int) also gets recognized as [I…
EgorBo 52c54a5
fix AsSpan and op_Implicit intrinsics
EgorBo f4bac1f
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo de2faa9
Fix r2r assert
EgorBo da4135f
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo 6252775
minor clean up
EgorBo f35da70
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo a45c705
Fix bug with s.StartsWith("", Ordinal) - it should be optimized to CO…
EgorBo 40550e9
Clean up
EgorBo a524530
Update UnrollEqualsStartsWIth.cs
EgorBo eadc97e
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo 411af86
Update src/coreclr/jit/importer_vectorization.cpp
EgorBo 6581fa8
Merge branch 'jit-unroll-equals' of https://github.com/EgorBo/runtime…
EgorBo aa48801
Address feedback
EgorBo abaf73a
Address feedback
EgorBo f42ae58
Address feedback
EgorBo 9c64132
Apply suggestions from code review
EgorBo afb814d
Update src/coreclr/jit/importer_vectorization.cpp
EgorBo 345246c
fix cast type
EgorBo ab5af13
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo d42a006
Remove redundant cast
EgorBo 971629c
Merge branch 'main' of https://github.com/dotnet/runtime into jit-unr…
EgorBo 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
fix assert
- Loading branch information
commit 9c8033f0c436fa0d7c3301b2f6fac61c876c6e8f
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
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.