-
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
Incorrect codegen for Vector256.Create(0, 0, 0, 0, 1, 1, 1, 1) #47236
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
bug
Milestone
Comments
dotnet-issue-labeler
bot
added
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
untriaged
New issue has not been triaged by the area owner
labels
Jan 20, 2021
I was able to repro, however, this no longer repros if you change any of the values in the |
Sergio0694
added a commit
to SixLabors/ImageSharp
that referenced
this issue
Jan 20, 2021
See Vector256.Create issue: dotnet/runtime#47236
Yeah it seems like this only happens with exactly |
Bug-fix: EgorBo@1809af6 The bug should also reproduce for e.g. |
@EgorBo I will assign this to you. |
JulieLeeMSFT
removed
the
untriaged
New issue has not been triaged by the area owner
label
Jan 20, 2021
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Jan 24, 2021
ghost
removed
the
in-pr
There is an active PR which will close this issue when it is merged
label
Feb 16, 2021
JimBobSquarePants
pushed a commit
to SixLabors/ImageSharp
that referenced
this issue
Mar 13, 2021
See Vector256.Create issue: dotnet/runtime#47236
ghost
locked as resolved and limited conversation to collaborators
Mar 18, 2021
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
bug
Description
Stumbled upon this issue while working on SixLabors/ImageSharp#1513.
Looks like that
Vector256.Create(0, 0, 0, 0, 1, 1, 1, 1)
results in just avxorps
, so it effectively just zeroes the register.You can repro this by just creating a value into a local and calling
ToString()
on it: all values are just 0.Configuration
Regression?
Yes, it seems to work fine on .NET Core 3.1.
Codegen (disasmo)
The text was updated successfully, but these errors were encountered: