Skip to content
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

SIMD multiplication by scalar UInt64 can produce incorrect results on Arm64 #106838

Closed
tannergooding opened this issue Aug 22, 2024 · 2 comments · Fixed by #106839
Closed

SIMD multiplication by scalar UInt64 can produce incorrect results on Arm64 #106838

tannergooding opened this issue Aug 22, 2024 · 2 comments · Fixed by #106839
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI in-pr There is an active PR which will close this issue when it is merged
Milestone

Comments

@tannergooding
Copy link
Member

The following program should print <25, 25> but instead may print a random value for the second element.

ulong val = 5;
Vector128<ulong> x = Vector128.Create<ulong>(val);
Console.WriteLine(x * 5UL);
@tannergooding tannergooding added this to the 9.0.0 milestone Aug 22, 2024
@tannergooding tannergooding self-assigned this Aug 22, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 22, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Aug 22, 2024
@tannergooding
Copy link
Member Author

This was found while working on #106594

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI in-pr There is an active PR which will close this issue when it is merged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant