-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vectorized common String.Split() paths (#38001)
* Vectorized String.Split() * Fixed variable name * Update src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs Co-authored-by: Günther Foidl <[email protected]> * Update src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs Co-authored-by: Günther Foidl <[email protected]> * Applied Review Feedback * Update src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs Co-authored-by: Günther Foidl <[email protected]> * Applied Review Feedback * Built branchless version with help of @gfoidl * Update src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs Co-authored-by: Günther Foidl <[email protected]> * Removed nullable separator parameters * Refactored MakeSeparatorList * Fixed mistakenly removed comments * Removed dependency on BMI2 PEXT instruction * Fixed mistaken use of Vector<ushort>.Count * Lowered string.Split() vectorization dependency from Avx2 to SSE41 * Added Sse.IsSupported check * Updated IsSupported check to match highest used ISA * Fixed possible cause for failing tests Co-authored-by: Günther Foidl <[email protected]>
- Loading branch information
Showing
1 changed file
with
115 additions
and
54 deletions.
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