X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;h=9814268327afdd9c269d728077d1f82770035c87;hp=cd6c280c8c444d9e349c1895b4c792ef8325d77d;hb=da2f8880b96004505e27b0b87f5df5bfe67a72a9;hpb=c556fe1d716fcef3215c239f02b314ec7b42f0d1 diff --git a/src/bitboard.h b/src/bitboard.h index cd6c280c..98142683 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -23,8 +23,6 @@ #include "types.h" -extern Bitboard pext(Bitboard b, Bitboard mask); - namespace Bitboards { void init(); @@ -244,7 +242,7 @@ FORCE_INLINE unsigned magic_index(Square s, Bitboard occ) { unsigned* const Shifts = Pt == ROOK ? RShifts : BShifts; if (HasPext) - return unsigned(pext(occ, Masks[s])); + return unsigned(_pext_u64(occ, Masks[s])); if (Is64Bit) return unsigned(((occ & Masks[s]) * Magics[s]) >> Shifts[s]);