Skip to content

Arm64-SVE: Implement Vector<T> HIR with SVE - #133422

Merged
dhartglassMSFT merged 14 commits into
dotnet:mainfrom
snickolls-arm:sve-hir
Nov 9, 2026
Merged

dhartglassMSFT merged 14 commits into
dotnet:mainfrom
snickolls-arm:sve-hir

Conversation

@snickolls-arm

Copy link
Copy Markdown
Contributor

Implement the Vector<T> API surface and various internal HIR transforms using SVE intrinsics, when InstructionSet_VectorT is enabled.

Implement the Vector<T> API surface and various internal HIR transforms
using SVE intrinsics, when InstructionSet_VectorT is enabled.
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 8, 2026
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Sep 8, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 6 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@snickolls-arm

Copy link
Copy Markdown
Contributor Author

@dotnet/arm64-contrib @tannergooding

Please could I have a review for this patch? It fills out most of the API surface for Vector<T> with SVE intrinsic implementations.

N.B. I have left some of the more involved algorithms blank (such as recently added geometric/harmonic sequences) to improve on in future. These two in particular don't have a software fallback for Vector<T> with Vector<byte>.Count > 16, so they will assert on hardware with larger vector lengths. I think it will be best to provide to provide an accelerated implementation so we can try to make use of predication.

@SwapnilGaikwad

Copy link
Copy Markdown
Contributor

cc: @dhartglassMSFT

Comment thread src/coreclr/jit/hwintrinsic.cpp Resolved
@jkotas jkotas added arm-sve Work related to arm64 SVE/SVE2 support arch-arm64 labels Oct 9, 2026
Comment thread src/coreclr/jit/importer.cpp Resolved
Comment thread src/coreclr/jit/lowerarmarch.cpp Resolved
Comment thread src/coreclr/jit/gentree.cpp Resolved
Comment thread src/coreclr/jit/gentree.cpp Resolved
Comment thread src/tests/JIT/SIMD/VectorAPICoverage.cs Resolved
Comment thread src/coreclr/jit/gentree.cpp Resolved
@SwapnilGaikwad

Copy link
Copy Markdown
Contributor

Hi @dhartglassMSFT , what can we do to push this PR further?

@SwapnilGaikwad SwapnilGaikwad mentioned this pull request Oct 26, 2026
2 of 27 tasks
Comment thread src/coreclr/jit/hwintrinsic.cpp Resolved
@dhartglassMSFT
dhartglassMSFT enabled auto-merge (squash) November 9, 2026 20:49
@dhartglassMSFT

Copy link
Copy Markdown
Contributor

test failure is WASI download failure

@dhartglassMSFT

Copy link
Copy Markdown
Contributor

/ba-g known test issues

@dhartglassMSFT
dhartglassMSFT merged commit d145291 into dotnet:main Nov 9, 2026
135 of 138 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI arm-sve Work related to arm64 SVE/SVE2 support 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