-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
AdvSimd support for System.Text.Unicode.Utf8Utility.GetPointerToFirstInvalidByte #38653
Merged
carlossanlop
merged 19 commits into
dotnet:master
from
carlossanlop:ARM-Utf8Utility.Validation
Jul 20, 2020
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
38e528b
AdvSimd support for System.Text.Unicode.Utf8Utility.GetPointerToFirst…
carlossanlop db7a4b1
Move comment to the top, add shims.
carlossanlop 3daf5cc
Little endian checks
carlossanlop 3fb9b55
Use custom MoveMask method for AdvSimd
carlossanlop 3a340b7
Address suggestions to improve the AdvSimdMoveMask method
carlossanlop 45bb8dd
Define initialMask outside MoveMask method
carlossanlop d4e5497
UInt64 in Arm64MoveMask
carlossanlop d761124
Add unit test case to verify intrinsics improvement
carlossanlop af42e59
Avoid casting to smaller integer type
carlossanlop bb07819
Typo and comment
carlossanlop 55dd236
Use ShiftRightArithmetic instead of CompareEqual + And.
carlossanlop 46bbf26
Use AddPairwise version of GetNotAsciiBytes
carlossanlop 6f4cca9
Add missing shims causing Linux build to fail
carlossanlop b2d3705
Simplify GetNonAsciiBytes to only one AddPairwise call, shorter bitmask
carlossanlop 8536a8d
Respect data type returned by masking method
carlossanlop a45fe16
Address suggestions - assert trailingzerocount and bring back uint mask
carlossanlop b09e92c
Trailing zeroes in AdvSimd need to be divided by 4, and total number …
carlossanlop 5c3cee2
Avoid declaring static field which causes PNSE in Utf8String.Experime…
carlossanlop d9dd878
Prefer using nuint for BitConverter.TrailingZeroCount
carlossanlop 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
There are no files selected for viewing
This file contains 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: I would re-phrase the comment to "Make sure that pInputBuffer is not advanced by more than 15 positions."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's ok with you, I would like to address this in another PR so that I don't reset the CI (it's taking a really long time to finish).
I have another similar TODO from the other PR (modifying a comment). We can collect similar requests and address them separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. No problem.