-
Notifications
You must be signed in to change notification settings - Fork 363
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
Warnings during compilation with MAX_SIMD 1 #94
Comments
According to the error messages Either way, this warning happens when while (num_cvs > 2) {
num_cvs =
compress_parents_parallel(cv_array, num_cvs, key, flags, out_array);
memcpy(cv_array, out_array, num_cvs * BLAKE3_OUT_LEN);
} Adding an assert |
Thus ARM with software floating point v6 and lower do not get I'm not sure if I should rename |
This is related to #55 I think. If adding that assert silences the compiler warning, it might be nice to add it, even if technically adds some runtime cost? |
It should be possible to be made into compile time assert, no? without any runtime impact? Or rewrite code such that compiler doesn't get triggered about it? |
Something like
will have no runtime overhead. I've played around a bit with this issue, and what seems to confuse GCC is the recursion in |
for people worried about assert() overhead, they should be able to compile blake3 with funfact:
|
I believe this is fixed by b8e2dda, but please reopen if I've missed something. |
Compiling for 32bit arm v6 target without ability for NEON support, emits warnings:
Is the out_array missized in such circumstances?
The text was updated successfully, but these errors were encountered: