Skip to content

change unconditional x86-64-v4 reliance to the former x86-64-v2 reliance #15

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ultrabear
Copy link

This implements a fix that closes #14 (removing the unconditional enabling of avx512 features)

It should be noted during my cursory audit, I found this crate appears to hard baseline on x86-64-v2 (with sse4.1 being silently asserted), and there might also be hard baselines on neon+aes with aarch64

This violates typical expectations (that code will compile against target baselines and only enable features that have a positive is_X_feature_detected call) so either compile errors should be inserted if not compiling against those baselines (ala simd_json) or new polyfills/checks should be inserted for software implementation

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.

SIGILL on 1.4 with machine that doesn't support avx512
1 participant