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
These APIs return either a scalar or a scalar in a Neon register. Therefore, it doesn't make sense that the mask has been hidden away for these, as they cannot be embedded inside a conditional select.
The APIs should be:
public static unsafe T ExtractAfterLastScalar(Vector<T> mask, Vector<T> value); // LASTA // predicated
public static unsafe Vector<T> ExtractAfterLastVector(Vector<T> mask, Vector<T> value); // LASTA // predicated
public static unsafe T ExtractLastScalar(Vector<T> mask, Vector<T> value); // LASTB // predicated
public static unsafe Vector<T> ExtractLastVector(Vector<T> mask, Vector<T> value); // LASTB // predicated
Note that the ConditionalExtract methods (CLASTA,CLASTB) do have the mask in the API.
We plan to implement these with the mask, and then raise an API review issue to cover the differences.
Activity
dotnet-policy-service commentedon May 6, 2025
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
a74nh commentedon May 16, 2025
These APIs return either a scalar or a scalar in a Neon register. Therefore, it doesn't make sense that the mask has been hidden away for these, as they cannot be embedded inside a conditional select.
The APIs should be:
Note that the ConditionalExtract methods (CLASTA,CLASTB) do have the mask in the API.
We plan to implement these with the mask, and then raise an API review issue to cover the differences.
arm64: Implement missing SVE extract methods
arm64: Implement missing SVE extract methods
arm64: Implement missing SVE extract methods (dotnet#116095)