Skip to content

Conversation

@fanyang-mono
Copy link
Member

@fanyang-mono fanyang-mono commented May 18, 2022

There isn't a SIMD instruction could match the behavior of how .NET handles vector Equals when it comes to compare NaN. This PR removes the SIMD intrinsics support for Vector<T>.Equals, Vector{64,128}<T>.Equals and Vector4.Equals.

The corresponding CoreCLR change could be found at #68691

Fixes #69424

@fanyang-mono fanyang-mono requested a review from vargaz as a code owner May 18, 2022 16:14
@ghost ghost added the area-System.Numerics label May 18, 2022
@ghost ghost assigned fanyang-mono May 18, 2022
@ghost
Copy link

ghost commented May 18, 2022

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: fanyang-mono
Assignees: -
Labels:

area-System.Numerics

Milestone: -

@fanyang-mono
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fanyang-mono fanyang-mono changed the title Fix fcmp [Mono] Enable Equals to handle NaN value May 18, 2022
@vargaz
Copy link
Contributor

vargaz commented May 18, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fanyang-mono
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fanyang-mono
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fanyang-mono fanyang-mono changed the title [Mono] Enable Equals to handle NaN value [Mono] Correct the behavior of Equals May 20, 2022
@fanyang-mono
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fanyang-mono
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@fanyang-mono
Copy link
Member Author

Failed tests on those 3 lanes are irrelevant to this PR. The same failures could be seen from the rolling build of last Friday as well. https://dev.azure.com/dnceng/public/_build/results?buildId=1782101&view=results

@fanyang-mono fanyang-mono merged commit 4ff994e into dotnet:main May 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vector test failures on tvos on the rolling build #1774196

2 participants