Skip to content

Conversation

@ylpoonlg
Copy link
Contributor

@ylpoonlg ylpoonlg commented Dec 4, 2025

Fixes #121961.

Rename argument names for the following methods:

  • AddCarryWideningEven/AddCarryWideningOdd: op1, op2, op3 => left, right, carry.
  • SubtractBorrowWideningEven/SubtractBorrowWideningOdd: op1, op2, op3 => left, right, borrow.
  • ShiftLeftLogicalWideningEven/ShiftLeftLogicalWideningOdd: value, count => value, shiftAmount.
  • AddWideningEvenOdd: left, right => leftEven, rightOdd.
  • SubtractWideningEvenOdd: left, right => leftEven, rightOdd.
  • SubtractWideningOddEven: left, right => leftOdd, rightEven.
  • InterleavingXorEvenOdd: odd, left, right => odd, leftEven, rightOdd.
  • InterleavingXorOddEven: even, left, right => even, leftOdd, rightEven.

@dotnet/arm64-contrib @a74nh

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

@a74nh a74nh left a comment

Choose a reason for hiding this comment

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

Assuming ShiftLeftLogicalWideningEven and ShiftLeftLogicalWideningOdd changes are reverted.

All other API changes match what was mentioned in the issue. Plus, when running my script I see only reductions in diffs between reviewed vs implemented.

So LGTM.

Rename `shiftAmount` back to `count`.
@tannergooding tannergooding enabled auto-merge (squash) December 4, 2025 14:47
@tannergooding tannergooding merged commit ec8d8b7 into dotnet:main Dec 5, 2025
141 of 143 checks passed
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.

SVE2: Fixup SVE2 Math/bitmanipulate/FP APIs

3 participants