-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Unroll String.Equals for constant input [0..16] length #64821
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
65d29fb
Unroll Equals too
EgorBo 11941a4
remove irrelevant comment
EgorBo aef78ef
formatting
EgorBo 60fb02f
better codegen
EgorBo 23f5a29
Reformat
EgorBo 6bdd6b0
Inliner's friendly version
EgorBo 3257a51
Clean up
EgorBo fb9b881
Fix SIMD impl, clean up. Remove StartsWith for now - leaving it up-fo…
EgorBo 3097c5b
Clean up again
EgorBo 05ccb49
Address feedback
EgorBo b838215
Update src/libraries/System.Private.CoreLib/src/System/String.Compari…
EgorBo 9817514
Add a comment
EgorBo 3def0ac
Merge branch 'unroll-startswith' of https://github.com/EgorBo/runtime…
EgorBo 49871fd
simple change, big codegen diff O_o
EgorBo 147647d
Update src/libraries/System.Private.CoreLib/src/System/String.Compari…
EgorBo 6f82123
address feedback
EgorBo 4b7b810
Clean up
EgorBo 8cc4dc2
only fold index expression in global morph
EgorBo d195951
Merge branch 'main' of https://github.com/dotnet/runtime into unroll-…
EgorBo e0bd4ba
Add tests
EgorBo a27a975
do 8-char longs strings via SIMD path - it's smaller
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
Clean up
- Loading branch information
commit 3257a513bd93db2a689bb0a91faeab6bfec34e2f
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.