-
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
Avx2.BroadcastScalarToVector128(T*) overloads are missing #26444
Comments
FYI. @eerhardt, @CarolEidt, @fiigii |
Found this API missing when porting the DirectX math library: https://github.com/Microsoft/DirectXMath |
@tannergooding Can we implement these overloads by containment optimization? |
@fiigii, not easily. Users would have to convert a I think it is more understandable, and easier to handle, if we just add T* overloads. |
Agree.
Don't you mean the overloads of pointers to all integer types (e.g., |
Right, hence the
It does, as of C# 7.3 with the |
Avx2 is currently only exposing the
Avx2.BroadcastScalarToVector128(Vector128<T>)
overloads.It should also expose the
Avx2.BroadcastScalarToVector128(T*)
overloads (explodingT
, due to the limitations on usingT*
) to have parity with the overloads available forfloat
/double
inAvx
and to ensure that theVPBROADCASTB xmm, m8
encodings are properly exposed.The text was updated successfully, but these errors were encountered: