-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Implement ShuffleNative
methods and optimise Shuffle
for non-constant indices
#99596
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 22 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
95b8eb8
Squash into 1 commit
hamarb123 57e4884
Remove internal dependency on ShuffleUnsafe's behaviour wrt high bit
hamarb123 b9be44e
Optimise some codegen
hamarb123 1423e85
jit format
hamarb123 ff76287
jit format
hamarb123 ca1a5fa
Simplify logic for using Shuffle for ShuffleUnsafe
hamarb123 d64cad2
Merge branch 'main' into main12
hamarb123 bb974ca
Merge branch 'main' into main12
hamarb123 c1ff983
Merge branch 'main' into main12
hamarb123 7062967
Merge branch 'main' into main12
hamarb123 1c06b5d
Move `ShuffleUnsafeModified` out of `Base64Helper`
hamarb123 91f3a1c
Remove unnecessary `CompExactlyDependsOn` and `using`s
hamarb123 05e991d
Update SearchValues.cs
hamarb123 9d00885
Merge branch 'main' into main12
hamarb123 c5ca4e2
Support AVX-512/AVX-10.1 acceleration of Shuffle V128<ulong/long/double>
hamarb123 fc4b8f5
Additional optimisation for V512 constant index shuffle
hamarb123 9437603
jit format & typo
hamarb123 f381cf0
Fix operand order
hamarb123 f32bf01
Changes to `IsValidForShuffle` & jit format
hamarb123 5c4ba29
jit format
hamarb123 70e68b2
Update hwintrinsicxarch.cpp
hamarb123 eacf11a
Update hwintrinsicxarch.cpp
hamarb123 98a3e61
Update gentree.cpp
hamarb123 a35768c
Make `op2DupSafe` be consistently ordered
hamarb123 036263b
jit format
hamarb123 a4a6365
Use `compIsEvexOpportunisticallySupported` instead of explicit AVX-10…
hamarb123 39fda9c
jit format
hamarb123 89fc050
Update gentree.cpp
hamarb123 8683e8a
Update Vector128.cs
hamarb123 6950dfa
Use `BlockNonDeterministicIntrinsics` instead of `CompExactlyDependsOn`
hamarb123 26d68df
Ensure V128<byte> ShuffleUnsafe is not regressed on mono
hamarb123 1044d8e
Update gentree.cpp
hamarb123 85d9b46
Rename `ShuffleUnsafe` to `ShuffleNative`
hamarb123 0dffb6e
jit format
hamarb123 33d9b4d
jit format again
hamarb123 81fe049
um
hamarb123 912596e
Move assertion on arm64 to correct spot
hamarb123 d58e1be
Normalize indices for `vpshufb` in all cases of constant indices Shuffle
hamarb123 2e9ef8a
jit format
hamarb123 7657a97
Revert last pair of commits
hamarb123 690d8f8
Feedback
hamarb123 6aed6f0
Merge branch 'main' into main12
tannergooding d87cec8
Address some feedback & a bug fix
hamarb123 363ae94
Ensure ShuffleNative's behaviour with reflection/function pointers/et…
hamarb123 01d88c4
jit format & compilation error
hamarb123 40e772f
jit format & fix buuld
hamarb123 1d963d3
jit format & fix build
hamarb123 57bd410
jit format
hamarb123 241e462
Update hwintrinsicxarch.cpp
hamarb123 8019c87
Update gentree.cpp
hamarb123 5e018e2
Fix mono code
hamarb123 823c93b
Mono: also cast arguments
hamarb123 0f6cc65
Move mono impl back into c#
hamarb123 0ef3d2d
Update Vector128.cs
hamarb123 64a2a81
um
hamarb123 2673129
Merge branch 'main' into main12
EgorBo 7137ac3
Merge branch 'main' into main12
tannergooding 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.