X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=5b83399b85c9093511f229b0bf853bf4e5120051;hp=c8f7d548fbda4a663fec02014fba347cf2d79ab6;hb=2572055c87f04832e43d63f30f26de04cadb729c;hpb=226bd540642a5f091a80e4b01ea4d4c160558a22 diff --git a/src/tt.h b/src/tt.h index c8f7d548..5b83399b 100644 --- a/src/tt.h +++ b/src/tt.h @@ -83,12 +83,12 @@ private: const int ClusterSize = 4; /// Each group of ClusterSize number of TTEntry form a TTCluster -/// that is indexed by a single position key. Cluster is padded -/// to a cache line size so to guarantee always aligned accesses. +/// that is indexed by a single position key. TTCluster size must +// be not bigger then a cache line size, in case it is less then +/// it should be padded to guarantee always aligned accesses. struct TTCluster { TTEntry data[ClusterSize]; - char cache_line_padding[64 - sizeof(TTEntry[ClusterSize])]; };