-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Vector.IsHardwareAccelerated result differs when called directly and called via reflection #38162
Comments
cc @dotnet/jit-contrib @tannergooding |
Saw this when looking at PMI results, where we force this method to be jitted. |
CC. @CarolEidt This has always been like this as the methods aren't recursive (and we didn't actually add the It shouldn't be particularly hard to fix, however. |
I have the fix for this done locally however since I though this just needed to be |
Moving this to future for the time being as the existing behavior goes back to .NET Framework and so I don't think it is particularly critical that we get it fixed for .NET 5. I think I would need input from @davidwrighton or @jkotas as to what is missing for R2R to start working correctly with |
The changes I had prepped are here, for reference: tannergooding@b6b555f |
One problem that I can see in your delta is that the mustExpand expansion will kick in only for Also, you may need a matching change in Mono. The zapper side of your delta looks fine. |
Moving to 8.0.0. This is in PR but not high priority and is dependent on someone from @dotnet/crossgen-contrib following up on the potential issue with the ISA flags |
results in
Seems like we're not recognizing this as an intrinsic when it is jitted on its own.
category:cq
theme:vector-codegen
skill-level:intermediate
cost:medium
The text was updated successfully, but these errors were encountered: