Skip to content

BUG: Fix missing intrinsics for windows/arm64 target#20938

Merged
charris merged 2 commits intonumpy:maintenance/1.22.xfrom
charris:backport-20931
Jan 29, 2022
Merged

BUG: Fix missing intrinsics for windows/arm64 target#20938
charris merged 2 commits intonumpy:maintenance/1.22.xfrom
charris:backport-20931

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jan 29, 2022

Backport of #20931.

Fixes #20930

__popcnt and variants are not available for arm64 msvc intrinsic so use numpy population count implementation for win/arm64 targets.

https://docs.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=msvc-170

Test Result

16356 passed, 649 skipped, 1296 deselected, 18 xfailed, 1 xpassed in 245.28s (0:04:05)

Do not use __popcnt and variants for windows/arm64 target
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jan 29, 2022
@charris charris added this to the 1.22.2 release milestone Jan 29, 2022
@charris charris merged commit e2b5201 into numpy:maintenance/1.22.x Jan 29, 2022
@charris charris deleted the backport-20931 branch January 29, 2022 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants