Shrink sequencer table

Integrate TT_MOVE step into the first state. This allows to
avoid the first call to next_phase() in case of a TT move.

And use overflow detection instead of the bunch of STOP_XX
states to detect end of moves.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-01-22 14:25:31 +01:00
parent 97e0b0a01e
commit 662d1859bd
2 changed files with 36 additions and 41 deletions

View File

@@ -47,7 +47,7 @@ private:
void score_captures();
void score_noncaptures();
void score_evasions();
void next_phase();
void generate_next();
const Position& pos;
const History& H;