-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
AVX512 architecture build fails with older GCC compilers. #2975
Comments
right, in addition to g++-10, also works with clang++-9 and clang++-10 |
According to https://software.intel.com/sites/landingpage/IntrinsicsGuide _mm512_zextsi256_si512 is part of the base AVX512F instructions and supposed to be declared in <immintrin.h> which we include. I can write a version w/o it however. Is that how we want to proceed? |
You propose again something conditional on the gcc version ? Depends a bit if this is easy or invasive, and if it is performance wise similar or not. |
no offense but what the fuck is this. |
@Vizvezdenec no idea, you'll need to give more info. Obviously something specific to your setup / local changes? |
I did update to the latest master and this is what it's returning with make of anything. |
Hm, okay, I did make clean and then usual build path and it started to work. No idea what it was, it's the first time I've seen smth like this. |
No functional change NNUE: 3994357 bench: 4733874
avoids an intrinsic that is missing in gcc < 10. For this target, might trigger another gcc bug on windows that requires up-to-date gcc 8, 9, or 10, or usage of clang. Fixes official-stockfish#2975 closes official-stockfish#2976 No functional change
avoids an intrinsic that is missing in gcc < 10. For this target, might trigger another gcc bug on windows that requires up-to-date gcc 8, 9, or 10, or usage of clang. Fixes official-stockfish/Stockfish#2975 closes official-stockfish/Stockfish#2976 No functional change
avoids an intrinsic that is missing in gcc < 10. For this target, might trigger another gcc bug on windows that requires up-to-date gcc 8, 9, or 10, or usage of clang. Fixes official-stockfish/Stockfish#2975 closes official-stockfish/Stockfish#2976 No functional change
avoids an intrinsic that is missing in gcc < 10. For this target, might trigger another gcc bug on windows that requires up-to-date gcc 8, 9, or 10, or usage of clang. Fixes official-stockfish#2975 closes official-stockfish#2976 No functional change
avoids an intrinsic that is missing in gcc < 10. For this target, might trigger another gcc bug on windows that requires up-to-date gcc 8, 9, or 10, or usage of clang. Fixes official-stockfish#2975 closes official-stockfish#2976 No functional change
The merge of PR #2962 introduced the
_mm512_zextsi256_si512
intrinsic for AVX512 builds. The definition of this and other intrinsics is missing in the fileavx512fintrin.h
for GCC compilers older than version 10.I tried including avx512fintrin.h directly (which is not best practice) in PR #2974 but this only looked like a fix due to my dodgy git practices, the only workaround right now is to use GCC 10 (or clang).
The text was updated successfully, but these errors were encountered: