-
Notifications
You must be signed in to change notification settings - Fork 52
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
No performance improvements with -Ctarget-feature=+neon
on arm64
#360
Comments
With chacha20 v0.9 you need to also provide the |
Mea culpa for missing that! I was using a clone version (so v0.10.0-pre) and expected to work directly. I just followed the README.md from https://crates.io/crates/chacha20 With
I'm asking maybe too much but, can't the feature be directly detected and enabled ? |
Adding compile-time detection should be relatively easy and we should do it for v0.10 (we essentially just need to tweak our |
It was previously |
Great to hear! Well, I have everything I need, thanks a lot for your hard work guys, I close the issue. |
Here's a PR to enable it by default: #361 |
Hey there, thanks for this amazing repo!
I'm currently using
chacha20
crate, unfortunately, on arm64 CPU I'm getting poor performances with and without-Ctarget-feature=+neon
.Am I missing something ? Thanks in advance :)
The text was updated successfully, but these errors were encountered: