Files
Stockfish/src
Stéphane Nicolet ea41f18e6e Swap mg and eg in internal representation of Score
Instrumentation shows that in make_score(mg, eg) calls, the mg value is
zero in 25,9% of the calls while the eg value is zero in 36,8% of the
calls.

Swapping the internal fields of mg and eg in the internal
representation of Score allows the compiler to optimize away the shift
in (eg << 16) + mg in more cases, thus resulting in a 0.3% speed-up
overall.

No functional change
2016-09-17 09:56:36 +02:00
..
2016-04-18 00:13:16 +02:00
2016-05-05 09:09:07 +02:00
2016-01-02 09:43:51 +00:00
2016-09-16 08:30:06 +02:00
2016-09-17 09:51:20 +02:00
2016-05-01 14:11:28 +02:00
2016-09-02 08:25:17 +02:00
2016-06-15 08:47:08 +02:00
2016-06-15 08:47:08 +02:00
2016-08-28 08:08:13 +02:00
2016-01-02 09:43:51 +00:00
2016-09-03 00:04:20 +02:00
2016-09-17 09:51:20 +02:00
2016-09-17 09:51:20 +02:00
2016-01-29 00:47:07 +00:00
2016-08-27 09:12:25 +02:00
2016-08-27 12:16:13 +02:00
2016-08-27 09:53:26 +02:00
2016-01-02 09:43:51 +00:00
2016-06-15 08:47:08 +02:00