-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GetArrayDataReference
in Vector*
#104532
Conversation
What is the intention behind the change? It looks like the JIT is already able to eliminate the bounds check in this case. |
Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics |
This looks like a CQ issue for JIT. The semantic of the code doesn't change, with just less one register usage. |
I opened #104538 about improving the addressing mode recognition on the JIT side. It's definitely a deficiency we have seen before. |
Bounds checks can be eliminated in some cases.
|
750dadc
to
8a10bfd
Compare
8a10bfd
to
a900207
Compare
Updated PR with some eliminated bounds checks. |
@MihuBot -arm64 |
@MihuBot -arm64 |
(System.Numerics.Vector`1[double]:.ctor(double[]):this)