-
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
Ensure Vector2/3/4, Quaternion, and Plane don't have a false dependency on Vector<T> #86481
Ensure Vector2/3/4, Quaternion, and Plane don't have a false dependency on Vector<T> #86481
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsExtracted from #85551
|
@@ -8332,10 +8332,7 @@ NamedIntrinsic Compiler::lookupNamedIntrinsic(CORINFO_METHOD_HANDLE method) | |||
CORINFO_SIG_INFO sig; | |||
info.compCompHnd->getMethodSig(method, &sig); | |||
|
|||
int sizeOfVectorT = getSIMDVectorRegisterByteLength(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what gave the "false dependency" on all intrinsic APIs under System.Numerics
.
It gave a query that was compExactlyDependsOn(InstructionSet_AVX2)
which in turn meant it opted out of any default pre-jit support.
The check was instead moved down to APIs on Vector<T>
itself -or- APIs that took/returned Vector<T>
elsewhere.
It does not include all APIs on System.Numerics.Vector
as we have a couple extension methods for Vector2/3/4
, Quaternion
, and Plane
that live on the same class
8c0caf6
to
038796a
Compare
Failure is dotnet/arcade#13625 and reproducing on other PRs |
Extracted from #85551