Skip to content

Fix/improve intrinsics usage for ARM64EC - #2306

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
StephanTLavavej:arm64ec_intrinsics
Oct 29, 2021
Merged

Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
StephanTLavavej:arm64ec_intrinsics

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

This mirrors Ben Niu's MSVC-PR-361004 "Disable x64 code paths that use tzcnt for ARM64EC, and enable NEON paths for ARM64EC".

The _HAS_NEON_INTRINSICS change is a performance improvement - ARM64EC has access to these ARM64 intrinsics.

The tzcnt change is a bugfix (fixing broken builds) - ARM64EC does not have access to this x86/x64 intrinsic.

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added bug Something isn't working performance Must go faster labels Oct 28, 2021
@CaseyCarter

Copy link
Copy Markdown
Contributor

This mirrors Ben Niu's MSVC-PR-361004 "Disable x64 code paths that use tzcnt for ARM64EC, and enable NEON paths for ARM64EC".

... which Casey approved without a GitHub port 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working performance Must go faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants