-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Use unpredicated movprfx with SVE2 fminnmp and fmaxnmp #119390
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
Conversation
Codegen is currently emitting a predicated `movprfx` with these instructions in combination with `ConditionalSelect`, which results in unpredictable behaviour. Use unpredicated `movprfx` instead and apply the mask to the result of the instruction.
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
|
@tannergooding and @EgorBo, please review this PR. The two commands (fminmp and fmaxmp) generate wrong values sometimes without this fix. We want to put this into .NET 10. |
…o movprfx optimization
|
@EgorBo, please backport to .NET 10. |
|
/backport to release/10.0 |
|
Started backporting to release/10.0: https://github.com/dotnet/runtime/actions/runs/17796691039 |
Codegen is currently emitting a predicated
movprfxwith these instructions in combination withConditionalSelect, which results in unpredictable behaviour. Use unpredicatedmovprfxinstead and apply the mask to the result of the instruction.