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

[Mono] Enable X86Base.Pause test #73318

Merged
merged 3 commits into from
Aug 9, 2022

Conversation

fanyang-mono
Copy link
Member

@fanyang-mono fanyang-mono commented Aug 3, 2022

Fixes #61693

SIMD intrinsics support for X86Base.Pause for Mono was originally added by Tanner via #61707. But soon it was reverted by #62157, since it caused test failures on CI. The change Tanner made originally was a good change. I am adding it back in this PR and make sure to exclude the test properly for Mono CI lanes. The Pause test should only run on Mono when LLVM is enabled.

@@ -2720,6 +2716,12 @@
<!-- End interpreter issues -->
</ItemGroup>

<ItemGroup Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' != 'llvmaot' and '$(RuntimeVariant)' != 'llvmfullaot' ">
<ExcludeList Include = "$(XUnitTestBinBase)/JIT/HardwareIntrinsics/X86/X86Base/Pause*/**">
<Issue>https://github.com/dotnet/runtime/pull/61707#issuecomment-973122341</Issue>
Copy link
Member

Choose a reason for hiding this comment

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

is there no actual issue for tracking this ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can create one. Given the trend that we are focusing on AOT with LLVM. I doubt that we will ever have any bandwidth to support this for non-LLVM scenarios.

@fanyang-mono
Copy link
Member Author

The Pause test is failing on llvm aot lanes is because there is an issue with exception handling when LLVM is enabled. I am looking into it.

@fanyang-mono
Copy link
Member Author

fanyang-mono commented Aug 5, 2022

@vargaz has opened a github issue to track the problem we are seeing here. #73454

This was also reported by @imhameed before as lacking EH support with LLVM. #54185

@fanyang-mono
Copy link
Member Author

Failures on CI is not related to this PR.

@fanyang-mono fanyang-mono merged commit 3fcbcc2 into dotnet:main Aug 9, 2022
@fanyang-mono fanyang-mono changed the title [Mono] Enable X86Base.Pause test only when LLVM is enabled [Mono] Enable X86Base.Pause test Aug 18, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 17, 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.

Mono jit/hardwareintrinsics/x86/x86base/pause tests failing
3 participants