You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is using the splicer build.
I tried running supervec on the .ll file generated from the evaluate_nnue function in Stockfish, but supervec crashes.
In order to isolate the bug, I ran creduce on the src/nnue/evaluate_nnue.cpp file after I prepocessed it. From the src directory of Stockfish, I ran the following command: clang++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -m64 -DUSE_PTHREADS -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -E -o errorTestPP.cpp nnue/evaluate_nnue.cpp
Then, I created the following bash script titled errorScript.sh which I placed in the src directory of Stockfish:
This is using the splicer build.
I tried running supervec on the .ll file generated from the evaluate_nnue function in Stockfish, but supervec crashes.
In order to isolate the bug, I ran creduce on the src/nnue/evaluate_nnue.cpp file after I prepocessed it. From the src directory of Stockfish, I ran the following command:
clang++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -m64 -DUSE_PTHREADS -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -E -o errorTestPP.cpp nnue/evaluate_nnue.cpp
Then, I created the following bash script titled
errorScript.sh
which I placed in the src directory of Stockfish:After creduce, I got the following source file:
Compiled using:
clang++ errorTestPP.cpp -S -emit-llvm -o errorTestPP.ll
Called supervec using:
$HOME/llvm/build/bin/opt -enable-new-pm=0 -load $HOME/minotaur/build/minotaur.so -so -S errorTestPP.ll
Sketches output:
The text was updated successfully, but these errors were encountered: