clang++ code/main.cpp -o Simpler-021C14F1 -O3 -std=c++2a -march=native -pthread -flto -fno-exceptions -fno-rtti -DNDEBUG -ffast-math -funroll-loops
In file included from code/main.cpp:4:
In file included from code/searcher.h:8:
In file included from code/moveListGeneration.h:22:
In file included from code/moveGeneration.h:8:
In file included from code/board.h:43:
code/nnue.h:264:16: error: no matching function for call to '_mm256_maddubs_epi16'
264 | return _mm256_maddubs_epi16(u, i);
| ^~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm-18/lib/clang/18/include/avx2intrin.h:1049:1: note: candidate function not viable: no known conversion from '__m512i' (vector of 8 'long long' values) to '__m256i' (vector of 4 'long long' values) for 1st argument
1049 | _mm256_maddubs_epi16(__m256i __a, __m256i __b)
| ^ ~~~~~~~~~~~
In file included from code/main.cpp:4:
In file included from code/searcher.h:8:
In file included from code/moveListGeneration.h:22:
In file included from code/moveGeneration.h:8:
In file included from code/board.h:43:
code/nnue.h:264:16: error: cannot initialize return object of type '__m512i' (vector of 8 'long long' values) with an rvalue of type '__m256i' (vector of 4 'long long' values)
264 | return _mm256_maddubs_epi16(u, i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
code/nnue.h:268:16: error: no matching function for call to '_mm256_madd_epi16'
268 | return _mm256_madd_epi16(a, b);
| ^~~~~~~~~~~~~~~~~
/usr/lib/llvm-18/lib/clang/18/include/avx2intrin.h:1081:1: note: candidate function not viable: no known conversion from '__m512i' (vector of 8 'long long' values) to '__m256i' (vector of 4 'long long' values) for 1st argument
1081 | _mm256_madd_epi16(__m256i __a, __m256i __b)
| ^ ~~~~~~~~~~~
In file included from code/main.cpp:4:
In file included from code/searcher.h:8:
In file included from code/moveListGeneration.h:22:
In file included from code/moveGeneration.h:8:
In file included from code/board.h:43:
code/nnue.h:268:16: error: cannot initialize return object of type '__m512i' (vector of 8 'long long' values) with an rvalue of type '__m256i' (vector of 4 'long long' values)
268 | return _mm256_madd_epi16(a, b);
| ^~~~~~~~~~~~~~~~~~~~~~~
code/nnue.h:351:30: error: variable 'L2c' declared with deduced type 'auto' cannot appear in its own initializer
351 | auto L2c = max32(L2c, zero);
| ^
In file included from code/main.cpp:25:
code/texel.h:117:92: warning: implicit conversion from 'll' (aka 'long long') to 'float' changes value from 1000000010 to 1.0E+9 [-Wimplicit-const-int-float-conversion]
117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
| ~~~~~~~~~~~ ~~~~^~~~
code/texel.h:117:82: warning: implicit conversion from 'll' (aka 'long long') to 'float' changes value from -1000000010 to -1.0E+9 [-Wimplicit-const-int-float-conversion]
117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
| ~~~~~~~~~~~ ~~~~~^~~~
2 warnings and 5 errors generated.
make: *** [Makefile:4: all] Error 1