Skip to content

Conversation

@ebiggers
Copy link
Owner

@ebiggers ebiggers commented Feb 24, 2025

See commit message.

Make libdeflate build for ARM64EC, and add ARM64EC to GitHub Actions.

ARM64EC pretends to be x86_64, but lots of x86_64 functionality is
broken:

- 256-bit and 512-bit vectors are unsupported
- _mm*_load*() do not accept void pointers
- _m_prefetchw() is not supported
- bmi2 intrinsics are not supported

For now just do the simple thing and treat ARM64EC as a generic
architecture, so do not try to use any of the x86_64 optimized code.

The premise of optimizing for ARM64EC seems questionable, after all,
given that proper ARM64 builds are fully supported.
@ebiggers ebiggers merged commit 81759f4 into master Feb 24, 2025
39 of 51 checks passed
@ebiggers ebiggers deleted the arm64ec_v2 branch February 24, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants