-
Notifications
You must be signed in to change notification settings - Fork 293
fix-gcc-10 #1242
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
base: master
Are you sure you want to change the base?
fix-gcc-10 #1242
Conversation
|
Thanks. It would be great to have a CI reproducer first, could you have a look or do you want me to handle it? |
|
I could cherry pick the commit here in case you want to merge them in one go |
yes, please do, first the ci commit then the fix :-) |
eac3479 to
d5ed51f
Compare
|
The fact that it breaks it is a good thing for me. I was chasing bugs in finufft with gcc-10. This might be the cause. flatironinstitute/finufft#780 |
the issue seems to be gcc-10 auto vectorization not xsimd explicit one. Adding that this code too causes issues: https://marco.godbolt.org/z/bjo6o8TfG |
|
if that's a GCC issue, specific to gcc-10, we could add something specific, but is that worth the effort? |
|
gcc-10 has a problem with avx512 but there is also an issue that I introduced when changing the avx512 swizzle: flatironinstitute/finufft#780 (comment) I should fix that. For gcc-10 if this does not pass CI, I am not sure what is best. I just need xsimd to work with gcc-10 as is not too old of a compiler otherwise I need a #error in finufft if avx512 is used to compile finufft. |
On my machine with gcc-10 I get the error:
This fixes it for me.