Log
46 lines 7 errors 2 warnings
1clang++ code/main.cpp -o Simpler-021C14F1 -O3 -std=c++2a -march=native -pthread -flto -fno-exceptions -fno-rtti -DNDEBUG -ffast-math -funroll-loops
2In file included from code/main.cpp:4:
3In file included from code/searcher.h:8:
4In file included from code/moveListGeneration.h:22:
5In file included from code/moveGeneration.h:8:
6In file included from code/board.h:43:
7code/nnue.h:264:16: error: no matching function for call to '_mm256_maddubs_epi16'
8264 | return _mm256_maddubs_epi16(u, i);
9| ^~~~~~~~~~~~~~~~~~~~
10/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
111049 | _mm256_maddubs_epi16(__m256i __a, __m256i __b)
12| ^ ~~~~~~~~~~~
13In file included from code/main.cpp:4:
14In file included from code/searcher.h:8:
15In file included from code/moveListGeneration.h:22:
16In file included from code/moveGeneration.h:8:
17In file included from code/board.h:43:
18code/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)
19264 | return _mm256_maddubs_epi16(u, i);
20| ^~~~~~~~~~~~~~~~~~~~~~~~~~
21code/nnue.h:268:16: error: no matching function for call to '_mm256_madd_epi16'
22268 | return _mm256_madd_epi16(a, b);
23| ^~~~~~~~~~~~~~~~~
24/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
251081 | _mm256_madd_epi16(__m256i __a, __m256i __b)
26| ^ ~~~~~~~~~~~
27In file included from code/main.cpp:4:
28In file included from code/searcher.h:8:
29In file included from code/moveListGeneration.h:22:
30In file included from code/moveGeneration.h:8:
31In file included from code/board.h:43:
32code/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)
33268 | return _mm256_madd_epi16(a, b);
34| ^~~~~~~~~~~~~~~~~~~~~~~
35code/nnue.h:351:30: error: variable 'L2c' declared with deduced type 'auto' cannot appear in its own initializer
36351 | auto L2c = max32(L2c, zero);
37| ^
38In file included from code/main.cpp:25:
39code/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]
40117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
41| ~~~~~~~~~~~ ~~~~^~~~
42code/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]
43117 | int qEval = worker.texelSearch(mainBoard, mainBoard.boardColor, -inf * 10, inf * 10, 0);
44| ~~~~~~~~~~~ ~~~~~^~~~
452 warnings and 5 errors generated.
46make: *** [Makefile:4: all] Error 1
No lines match.