FP with some test conds | bench 968174

This commit is contained in:
rektdie committed 2025-03-26 12:16:27 +01:00
1 parent 03cc40bda3
commit 2c1d448d8f
2 files changed
+16 -1

No files matched your search

+6 -1
View File
@@ -49,12 +49,17 @@ public:
return m_move >> 12;
}
int IsCapture() {
bool IsCapture() {
return (GetFlags() == capture || GetFlags() == epCapture
|| GetFlags() == knightPromoCapture || GetFlags() == bishopPromoCapture
|| GetFlags() == rookPromoCapture || GetFlags() == queenPromoCapture);
}
bool IsQuiet() {
return (GetFlags() == quiet || GetFlags() == kingCastle
|| GetFlags() == queenCastle || GetFlags() == doublePawnPush);
}
void PrintMove() {
std::cout << squareCoords[MoveFrom()] << squareCoords[MoveTo()];