-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Arm64/Sve: Predicated Abs, Predicated/UnPredicated Add, Conditional Select #100743
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
0d437e3
JIT ARM64-SVE: Add Sve.Abs() and Sve.Add()
a74nh e9fa735
Fix sve scaling in enitIns_R_S/S_R
a74nh 5acc122
Revert "Fix sve scaling in enitIns_R_S/S_R"
a74nh 15e893d
Fix sve scaling in enitIns_R_S/S_R
a74nh c22f458
Restore testing
a74nh 508a52a
Use NaturalScale_helper for vector load/stores
a74nh 5825c20
Merge remote-tracking branch 'origin/main' into api_abs_github
kunalspathak 9081fa3
Merge remote-tracking branch 'origin/main' into api_abs_github
kunalspathak d4f3c86
wip
kunalspathak 20defbd
Add ConditionalSelect() APIs
kunalspathak c70367f
Handle ConditionalSelect in JIT
kunalspathak 1896b21
Add test coverage
kunalspathak 2e0d022
Update the test cases
kunalspathak 185fcfa
jit format
kunalspathak 88e8f87
Merge branch 'sve-conditional-select' into abi_abs_conditional
kunalspathak ebcb174
fix merge conflicts
kunalspathak 28aa7b7
Make predicated/unpredicated work with ConditionalSelect
kunalspathak 1c7b4b2
Misc. changes
kunalspathak 6adf6c6
jit format
kunalspathak ecf4e01
jit format
kunalspathak c6fef82
Merge remote-tracking branch 'origin/main' into abi_abs_conditional
kunalspathak d780156
Handle all the conditions correctly
kunalspathak eb4d1dc
jit format
kunalspathak 00aacab
fix some spacing
kunalspathak f716958
Removed the assert
kunalspathak 5eadcf9
fix the largest vector size to 64 to fix #100366
kunalspathak bc6e58d
review feedback
kunalspathak 19ec4b6
wip
kunalspathak ed7c781
Add SVE feature detection for Windows
kunalspathak f966b5e
fix the check for invalid alignment
kunalspathak f0c81f1
Revert "Add SVE feature detection for Windows"
kunalspathak 89ede7d
Handle case where Abs() is wrapped in another conditionalSelect
kunalspathak 1f44b2f
jit format
kunalspathak 9712a16
fix the size comparison
kunalspathak 0ad2e64
HW_Flag_MaskedPredicatedOnlyOperation
kunalspathak f76e324
Revert the change in emitarm64.cpp around INS_sve_ldr_mask/INS_sve_st…
kunalspathak 8af7108
Fix the condition for lowering
kunalspathak e934e26
address review feedback for movprfx
kunalspathak 0daeac7
Move the special handling of Vector<>.Zero from lowerer to importer
kunalspathak 635a7d7
Rename IsEmbeddedMaskedOperation/IsOptionalEmbeddedMaskedOperation
kunalspathak 19da982
Add more test coverage for conditionalSelect
kunalspathak f1b8b17
Rename test method name
kunalspathak 409a039
Add more test coverage for conditionalSelect:Abs
kunalspathak 0c8a14d
jit format
kunalspathak 53c5eb3
Add logging on test methods
kunalspathak 868229f
Merge remote-tracking branch 'origin/main' into abi_abs_conditional
kunalspathak 9ae3c78
Add the missing movprfx for abs
kunalspathak c8244eb
Add few more scenarios where falseVal is zero
kunalspathak f6eb1fe
Make sure LoadVector is marked as explicit needing mask
kunalspathak 83e1b1b
revisit the codegen logic
kunalspathak c78e0c7
Remove commented code and add some other comments
kunalspathak 6aa2386
jit format
kunalspathak 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
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
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
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
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
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.
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.
Not important for this PR, but this is potentially something that should be handled in
gtNewSimdCndSelNode
instead and then more generally as part ofmorph
to capture values that don't materialize as constants until 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.
will do it in follow-up PR.