-
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
Ensure that Arm64 correctly handles multiplication of simd by a 64-bit scalar #106839
Conversation
Extracted from #106594 so that it can be backported to .NET 9 |
a5db156
to
f423a26
Compare
f423a26
to
379dd36
Compare
379dd36
to
de8b16a
Compare
CC. @dotnet/jit-contrib for review This fixes #106838 and will need backport |
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.
x64 has a similar path - is it ok as is?
Yes. The issue here was specifically with multiplication by a scalar, since Arm64 handles it by extracting the separate components. For x64, we always broadcast that scalar to a vector and then use a vectorized implementation instead, not extracting. -- The test is notably also xplat, not Arm64 specific and so is also validating that x64 is correct. |
/backport to release/9.0 |
Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/10562736191 |
This resolves #106838