HooverChessUtils_PgnReader 0.9.0
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | Static Private Attributes | List of all members
hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm Class Reference

Slider attacks implementation using PEXT/PDEP. More...

#include <bitboard-attacks-aarch64-sve2-bitperm.h>

Collaboration diagram for hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm:
Collaboration graph
[legend]

Classes

struct  PextData
 

Static Public Member Functions

static SquareSet getBishopAttackMask (Square sq, SquareSet occupancyMask) noexcept
 See Attacks::getBishopAttackMask() for documentation.
 
static SquareSet getRookAttackMask (Square sq, SquareSet occupancyMask) noexcept
 See Attacks::getRookAttackMask() for documentation.
 
static SquareSet getQueenAttackMask (Square sq, SquareSet occupancyMask) noexcept
 See Attacks::getQueenAttackMask() for documentation.
 
static std::pair< SquareSet, SquareSetgetBishopAndRookAttackMasks (Square sq, SquareSet occupancyMask) noexcept
 
static std::pair< SquareSet, SquareSetgetBishopAndRookAttackMasks (Square sq, SquareSet occupancyMaskForBishopAttacks, SquareSet occupancyMaskForRookAttacks) noexcept
 
static void determineSliderCheckersAndPinners (Square kingSq, SquareSet occupancyMask, SquareSet rooks, SquareSet bishops, SquareSet opponentPieces, SquareSet epCapturable, SquareSet &out_checkers, SquareSet &out_pinners) noexcept
 

Static Private Attributes

static const PextData ctPextData
 

Detailed Description

Slider attacks implementation using PEXT/PDEP.

Member Function Documentation

◆ determineSliderCheckersAndPinners()

static void hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::determineSliderCheckersAndPinners ( Square  kingSq,
SquareSet  occupancyMask,
SquareSet  rooks,
SquareSet  bishops,
SquareSet  opponentPieces,
SquareSet  epCapturable,
SquareSet out_checkers,
SquareSet out_pinners 
)
inlinestaticnoexcept

◆ getBishopAndRookAttackMasks() [1/2]

static std::pair< SquareSet, SquareSet > hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::getBishopAndRookAttackMasks ( Square  sq,
SquareSet  occupancyMask 
)
inlinestaticnoexcept

◆ getBishopAndRookAttackMasks() [2/2]

static std::pair< SquareSet, SquareSet > hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::getBishopAndRookAttackMasks ( Square  sq,
SquareSet  occupancyMaskForBishopAttacks,
SquareSet  occupancyMaskForRookAttacks 
)
inlinestaticnoexcept

◆ getBishopAttackMask()

static SquareSet hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::getBishopAttackMask ( Square  sq,
SquareSet  occupancyMask 
)
inlinestaticnoexcept

See Attacks::getBishopAttackMask() for documentation.

◆ getQueenAttackMask()

static SquareSet hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::getQueenAttackMask ( Square  sq,
SquareSet  occupancyMask 
)
inlinestaticnoexcept

See Attacks::getQueenAttackMask() for documentation.

◆ getRookAttackMask()

static SquareSet hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::getRookAttackMask ( Square  sq,
SquareSet  occupancyMask 
)
inlinestaticnoexcept

See Attacks::getRookAttackMask() for documentation.

Member Data Documentation

◆ ctPextData

const PextData hoover_chess_utils::pgn_reader::Attacks_AArch64_SVE2_BitPerm::ctPextData
staticprivate

The documentation for this class was generated from the following file: