Skip to content

arm64: Add Sve2 Subtract functions #117318

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jonathandavies-arm
Copy link
Contributor

@jonathandavies-arm
Copy link
Contributor Author

@dotnet/arm64-contrib @amanasifkhalid

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jul 4, 2025
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.

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.

Code changes look good, but we should get a full CI run in first.

CORINFO_CLASS_HANDLE argClass = NO_CLASS_HANDLE;

argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg2, &argClass)));
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg1, &argClass)));
Copy link
Member

Choose a reason for hiding this comment

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

Since we aren't using argType anywhere, we can get rid of it and ignore the return value of this.

Suggested change
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg1, &argClass)));
JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg1, &argClass)));

/// SSUBLBT Zresult.D, Zop1.S, Zop2.S
/// </summary>
public static Vector<long> SubtractWideningEvenOdd(Vector<int> left, Vector<int> right) { 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.

CI says there's some trailing whitespace here that's tripping up the libraries build runs. Your editor might be able to remove any extra whitespace in these files for you (ex in VS Code: ctrl+shift+P -> "Trim Trailing Whitespace")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime.Intrinsics community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants