Skip to content

Arm64-SVE: Enable register allocation and caller-saved spills for scalable vectors - #137087

Open
snickolls-arm wants to merge 1 commit into
dotnet:mainfrom
snickolls-arm:caller-saved-sve-vectors
Open

snickolls-arm wants to merge 1 commit into
dotnet:mainfrom
snickolls-arm:caller-saved-sve-vectors

Conversation

@snickolls-arm

Copy link
Copy Markdown
Contributor

Under the standard Arm64 PCS, a callee only preserves the bottom 64 bits of v8-v15. Extend the partial SIMD callee-save machinery to TYP_SIMD so that an enregistered scalable vector live across a call is saved to its unknown-size stack home and restored before its next use. Add codegen support for the scalable save and restore operations.

Update scope information to report the location of the local. We do not create debug intervals at the moment for TYP_SIMD locals, ensure we bail out when trying to update them.

…lable vectors

Under the standard Arm64 PCS, a callee only preserves the bottom 64 bits of v8-v15. Extend the
partial SIMD callee-save machinery to TYP_SIMD so that an enregistered scalable vector live across
a call is saved to its unknown-size stack home and restored before its next use. Add codegen
support for the scalable save and restore operations.

Update scope information to report the location of the local. We do not create debug intervals at
the moment for TYP_SIMD locals, ensure we bail out when trying to update them.
@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 Nov 6, 2026
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Nov 6, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 7 pipeline(s).
8 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.

@SwapnilGaikwad

Copy link
Copy Markdown
Contributor

cc: @dotnet/arm64-contrib @dhartglassMSFT

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants