Skip to content
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: Alphabetically order the SVE API (#104834) #105760

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

a74nh
Copy link
Contributor

@a74nh a74nh commented Jul 31, 2024

Generally there are two issues:

  • A method is out of order in respect to other methods of a differing name
  • A specific type is out of order within methods of the same name

Does not change any APIs or contents within summary blocks.

Also adds some missing section comments.

Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jul 31, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics
See info in area-owners.md if you want to be subscribed.

@a74nh a74nh changed the title ARM64-SVE: Alphabetically order the SVE API ARM64-SVE: Alphabetically order the SVE API (#104834) Jul 31, 2024
@a74nh a74nh marked this pull request as ready for review July 31, 2024 15:28
@a74nh
Copy link
Contributor Author

a74nh commented Jul 31, 2024

@dotnet/arm64-contrib @kunalspathak

/// svint8_t svabs[_s8]_z(svbool_t pg, svint8_t op)
/// </summary>
public static unsafe Vector<sbyte> Abs(Vector<sbyte> value) { throw new PlatformNotSupportedException(); }

/// <summary>
/// svfloat32_t svabs[_f32]_m(svfloat32_t inactive, svbool_t pg, svfloat32_t op)
/// svfloat32_t svabs[_f32]_x(svbool_t pg, svfloat32_t op)
/// svfloat32_t svabs[_f32]_z(svbool_t pg, svfloat32_t op)
/// </summary>
public static unsafe Vector<float> Abs(Vector<float> value) { throw new PlatformNotSupportedException(); }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this order using .NET names for types (i.e. Single instead of float)? I'm guessing that's why Vector<float> Abs is at the end?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is using the order specified here.
So, yes the names instead of the types.

Copy link
Member

@amanasifkhalid amanasifkhalid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a quick skim, and this LGTM. Thanks!

@amanasifkhalid amanasifkhalid merged commit 40618ff into dotnet:main Jul 31, 2024
145 of 147 checks passed
@a74nh a74nh deleted the alphabetical_github branch August 1, 2024 08:52
@github-actions github-actions bot locked and limited conversation to collaborators Sep 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.Intrinsics community-contribution Indicates that the PR has been added by a community member new-api-needs-documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants