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

Add MSVC-internal workaround for ARM64 popcount intrinsics #4733

Conversation

StephanTLavavej
Copy link
Member

As mentioned in #4683, VS 2022 17.11 Preview 1 added ARM64 support for __popcnt64 etc. intrinsics. When merging #4695, everything seemed to be okay during MSVC-internal PR checks, but post-merge CI noticed that the MSVC-internal build starts with a checked-in 17.10p4, which is too old to know about the new intrinsics.

I missed this because I forgot that MSVC-internal PR checks don't build ARM64 (only the CI does) and I didn't build ARM64 locally.

The workaround is to check the compiler version. I'll be able to remove this after we update the internal toolset, which should happen very soon.

@StephanTLavavej StephanTLavavej added bug Something isn't working high priority Important! labels Jun 18, 2024
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner June 18, 2024 19:37
@StephanTLavavej StephanTLavavej merged commit 2453aa4 into microsoft:main Jun 18, 2024
39 checks passed
@StephanTLavavej StephanTLavavej deleted the once-you-popcount-you-cant-stopcount branch June 18, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority Important!
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants