You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[API Proposal]: Arm64 SVE: Add LoadAndReplicateToVector for SVE #116006
changed the title [-]Arm64 SVE: Add LoadAndReplicateToVector for SVE[/-][+][API Proposal]: Arm64 SVE: Add LoadAndReplicateToVector for SVE[/+]on May 27, 2025
@a74nh, I updated the proposal to match the existing convention which is LoadAndReplicateVector matching the AdvSimd signature + the offset control that is allowed for the SVE version.
The DuplicateSelectedScalarToVector would be a different API that maps to the DUP instruction instead.
Hey, I'd like to implement this API. I've been researching how SVE intrinsics work in the runtime and have a few questions before I start:
I notice this API doesn't take a Vector<T> mask parameter like LoadVector128AndReplicateToVector does. Should the JIT generate an implicit PTRUE before the LD1R* instruction, similar to how other unpredicated SVE operations work (as seen in issue #114286)?
Any specific patterns I should follow? I've been looking at PR #103392 as a reference.
Activity
dotnet-policy-service commentedon May 27, 2025
Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics
See info in area-owners.md if you want to be subscribed.
[-]Arm64 SVE: Add LoadAndReplicateToVector for SVE[/-][+][API Proposal]: Arm64 SVE: Add LoadAndReplicateToVector for SVE[/+]tannergooding commentedon Jun 24, 2025
@a74nh, I updated the proposal to match the existing convention which is
LoadAndReplicateVectormatching the AdvSimd signature + the offset control that is allowed for the SVE version.The
DuplicateSelectedScalarToVectorwould be a different API that maps to theDUPinstruction instead.bartonjs commentedon Jun 24, 2025
Video
Looks good as proposed
tcortega commentedon Jan 14, 2026
Hey, I'd like to implement this API. I've been researching how SVE intrinsics work in the runtime and have a few questions before I start:
I notice this API doesn't take a
Vector<T>mask parameter likeLoadVector128AndReplicateToVectordoes. Should the JIT generate an implicitPTRUEbefore theLD1R*instruction, similar to how other unpredicated SVE operations work (as seen in issue #114286)?Any specific patterns I should follow? I've been looking at PR #103392 as a reference.