Skip to content
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

Enable stdarch_x86_avx512 for cpu has avx512bw #1551

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

serendipity-crypto
Copy link
Contributor

Motivation

Enable feature stdarch_x86_avx512 for cpu has avx512bw when simd_support is enabled.

Details

The trait WideningMultiply for u16x32 need avx512, which needs unstable library feature stdarch_x86_avx512. This modification enable it when cpu has target_feature avx512bw.

Copy link
Member

@dhardy dhardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks...

But run rustfmt

@dhardy dhardy merged commit 34da321 into rust-random:master Jan 14, 2025
17 checks passed
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