Skip to content

Conversation

@TIHan
Copy link
Contributor

@TIHan TIHan commented Sep 20, 2023

Resolves #92201

GT was getting incorrectly reversed. Looks like an oversight, though it is surprising this wasn't caught sooner. Original code was here since 2018.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 20, 2023
@ghost ghost assigned TIHan Sep 20, 2023
@ghost
Copy link

ghost commented Sep 20, 2023

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

Issue Details

Resolves #92201

GT was getting incorrectly reversed. Looks like an oversight, though it is surprising this wasn't caught sooner.

Author: TIHan
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

Copy link
Member

@jakobbotsch jakobbotsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test?

@jakobbotsch
Copy link
Member

jakobbotsch commented Sep 20, 2023

GT was getting incorrectly reversed. Looks like an oversight, though it is surprising this wasn't caught sooner. Original code was here since 2018.

It's probably very hard to end up with the FGTU unordered floating pointer greater than comparison in the first place, looks like the only possible way is if we reverse a FLE comparison, but then it's probably very unlikely for us to end up reversing it a second time to hit the bug.
So it might be very hard to come up with a test.

@TIHan TIHan merged commit b2417c3 into dotnet:main Sep 21, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 21, 2023
@kunalspathak
Copy link
Contributor

/backport to release/8.0-staging

@github-actions github-actions bot unlocked this conversation Mar 27, 2024
@github-actions
Copy link
Contributor

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/8458964624

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2024
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure _Vector128_ro::JIT.HardwareIntrinsics.General._Vector128.Program.LessThanOrEqualAnySingle()

3 participants