-
Notifications
You must be signed in to change notification settings - Fork 824
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
feat(singlepass): use SIMD insts for popcount #4526
feat(singlepass): use SIMD insts for popcount #4526
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use Wasmer::CPUFeatures to detect if chipset is NEON (using https://doc.rust-lang.org/std/arch/macro.is_aarch64_feature_detected.html )
(note: we should update CPUFeatures to have a new enum choice for NEON)
https://naqvis.github.io/wasmer-crystal/Wasmer/CpuFeatures.html
And update the code accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once the last comments are addressed
Tackles #4422.