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

chacha20: SSE2 autodetection support #270

Merged
merged 1 commit into from
Aug 29, 2021

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Aug 29, 2021

i586 targets do not have SSE2 enabled by default.

This commit adds autodetection for SSE2 in addition to the existing autodetection for AVX2, and falls back to a portable implementation if SSE2 is not available.

See discussion here: rust-random/rand#931 (comment)

i586 targets do not have SSE2 enabled by default.

This commit adds autodetection for SSE2 in addition to the existing
autodetection for AVX2, and falls back to a portable implementation if
SSE2 is not available.
@tarcieri tarcieri merged commit 2e64ad5 into master Aug 29, 2021
@tarcieri tarcieri deleted the chacha20/sse2-autodetection-support branch August 29, 2021 13:30
@tarcieri tarcieri mentioned this pull request Aug 29, 2021
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.

1 participant