There appears to be a memory error overwriting certain indices in knightMove (and potentially others). I would use valgrind to investigate, but valgrind does not support 64 bit binaries and so the project must be recompiled and linked with -m32 in the makefile. One obstacle stands in the way of doing this, which is that the new GSB and LSB functions rely on 64 bit instructions. We will have to make 32 bit versions of these and keep them in the case where we need to run valgrind.
There appears to be a memory error overwriting certain indices in knightMove (and potentially others). I would use valgrind to investigate, but valgrind does not support 64 bit binaries and so the project must be recompiled and linked with -m32 in the makefile. One obstacle stands in the way of doing this, which is that the new GSB and LSB functions rely on 64 bit instructions. We will have to make 32 bit versions of these and keep them in the case where we need to run valgrind.