X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;h=c0af52269afe5997bb7f73c526c77f3e4322d55e;hp=d2b623f609ea584a1fcee81ff87917179360889e;hb=f3d0b76feb2f27e78832950e54702e81901ddbbc;hpb=bfd4421f490e721958a77b8304d8ebcb574a583f diff --git a/src/bitboard.h b/src/bitboard.h index d2b623f6..c0af5226 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -323,13 +323,13 @@ inline Bitboard isolated_pawn_mask(Square s) { #if defined(USE_BSFQ) // Assembly code by Heinz van Saanen -inline Square __attribute__((always_inline)) first_1(Bitboard b) { +inline Square first_1(Bitboard b) { Bitboard dummy; __asm__("bsfq %1, %0": "=r"(dummy): "rm"(b) ); return (Square)(dummy); } -inline Square __attribute__((always_inline)) pop_1st_bit(Bitboard* b) { +inline Square pop_1st_bit(Bitboard* b) { const Square s = first_1(*b); *b &= ~(1ULL<