Skip to content

Reapply "Add lane construction and composition APIs" - #129627

Merged
tannergooding merged 2 commits into
dotnet:mainfrom
hez2010:vector-lanes-reapply
Jun 19, 2026
Merged

tannergooding merged 2 commits into
dotnet:mainfrom
hez2010:vector-lanes-reapply

Conversation

@hez2010

@hez2010 hez2010 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Redo "Add lane construction and composition APIs", and add NYI to wasm SIMD path.

cc: @tannergooding

Copilot AI review requested due to automatic review settings June 19, 2026 16:26
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jun 19, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the System.Runtime.Intrinsics test suite to cover newly introduced vector “sequence” helpers (geometric/alternating/harmonic/sign) and lane composition APIs (zip/unzip/concat/reverse) across multiple vector widths.

Changes:

  • Adds CreateGeometricSequence, CreateAlternatingSequence, and CreateHarmonicSequence test coverage for Vector64/256/512.
  • Adds SignSequence validation for signed/floating element types.
  • Adds lane-operation tests validating Zip*, Unzip*, Concat*, and Reverse behavior (including Vector64 count==1 edge cases for 64-bit lanes).

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

File Description
src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs Adds tests for new sequence APIs, sign sequence, and lane composition ops (incl. count==1 semantics for 64-bit lanes).
src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector256Tests.cs Adds tests for new sequence APIs, sign sequence, and lane composition ops for Vector256<T>.
src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector512Tests.cs Adds tests for new sequence APIs, sign sequence, and lane composition ops for Vector512<T>.

@tannergooding
tannergooding merged commit 5791bab into dotnet:main Jun 19, 2026
183 of 186 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 22, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
Redo "Add lane construction and composition APIs", and add NYI to wasm
SIMD path.

cc: @tannergooding
ManickaP pushed a commit to ManickaP/runtime that referenced this pull request Jul 22, 2026
Redo "Add lane construction and composition APIs", and add NYI to wasm
SIMD path.

cc: @tannergooding
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants