-
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
JIT ARM64-SVE: Add Sve.CreateFalseMask*() #102076
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
51e5c11
JIT ARM64-SVE: Add Sve.CreateFalseMask*()
mikabl-arm 277a988
Remove code copied from the Arm manual.
mikabl-arm c36a3fd
Remove LargestVectorSize from CreateFalseMask* template parameters
mikabl-arm 64b2d0e
Fix documentation comments for CreateFalseMask*()
mikabl-arm 7fee932
Improve code readability by operating byte-sized elements.
mikabl-arm 59a2708
Enable reflection scenario tests
mikabl-arm 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -665,6 +665,96 @@ internal Arm64() { } | |
public static unsafe ulong Count8BitElements([ConstantExpected] SveMaskPattern pattern = SveMaskPattern.All) => Count8BitElements(pattern); | ||
|
||
|
||
/// Set all predicate elements to false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: This should really be written just once, just as we do for e.g. in |
||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<byte> CreateFalseMaskByte() => CreateFalseMaskByte(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<double> CreateFalseMaskDouble() => CreateFalseMaskDouble(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<short> CreateFalseMaskInt16() => CreateFalseMaskInt16(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<int> CreateFalseMaskInt32() => CreateFalseMaskInt32(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<long> CreateFalseMaskInt64() => CreateFalseMaskInt64(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<sbyte> CreateFalseMaskSByte() => CreateFalseMaskSByte(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<float> CreateFalseMaskSingle() => CreateFalseMaskSingle(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<ushort> CreateFalseMaskUInt16() => CreateFalseMaskUInt16(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<uint> CreateFalseMaskUInt32() => CreateFalseMaskUInt32(); | ||
|
||
|
||
/// Set all predicate elements to false | ||
|
||
/// <summary> | ||
/// svbool_t svpfalse[_b]() | ||
/// PFALSE Presult.B | ||
/// </summary> | ||
public static unsafe Vector<ulong> CreateFalseMaskUInt64() => CreateFalseMaskUInt64(); | ||
|
||
|
||
/// CreateTrueMaskByte : Set predicate elements to true | ||
|
||
/// <summary> | ||
|
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.
same here.