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

Simd512 cannot be compiled with gcc 4.9 #313

Closed
cyrilbouvier opened this issue Aug 25, 2020 · 1 comment · Fixed by #334
Closed

Simd512 cannot be compiled with gcc 4.9 #313

cyrilbouvier opened this issue Aug 25, 2020 · 1 comment · Fixed by #334

Comments

@cyrilbouvier
Copy link
Member

With gcc 4.9, if fflas-ffpack is compiled with AVX512L, some functions used in fflas-ffpack/fflas/fflas_simd/simd512_float.inl are undefined. This problem does not occurs with gcc 5+. This problem can be observed on the Travis job with GCC_VERSION=4.9.

If we look more closely as the first undefined function (_mm512_castps512_ps256), one can see in the Intel Intrinsics documentation (https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_castps512_ps256&expand=625) that it requires AVX512L and the include of "immintrin.h", as done in fflas-ffpack. So according to the doc, it should work. But if one looks in the include files of gcc, one can see that with gcc 4.9, the function is never defined while in more recent gcc, it is defined in the header avx512fintrin.h.

@ClementPernet
Copy link
Member

note: this was also discussed in #322 where I suggested to drop support for g++<5. @cyrilbouvier : can you update the configure scripts accordingly?

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 a pull request may close this issue.

2 participants