1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 17:19:36 +00:00
Commit graph

3474 commits

Author SHA1 Message Date
root
7932397ed9 Simplify 2015-01-10 14:19:06 +00:00
root
18d2ca5055 Remove Rank 2015-01-10 14:14:17 +00:00
root
32ff92de2f Further reduce 2015-01-10 14:10:48 +00:00
root
c091add4fd Simplify 2015-01-10 14:06:35 +00:00
root
9fbd8f4f72 Further reduce 2015-01-10 14:05:41 +00:00
root
63136b8c68 bitboard.cpp reduce more 2015-01-10 14:04:00 +00:00
root
85e8fd914c Retire types.h 2015-01-10 14:01:48 +00:00
root
5c9a12f6f1 bitboard.h reduce 2015-01-10 13:54:35 +00:00
root
57e512b7a3 Simplify bitboard.cpp 2015-01-10 13:35:49 +00:00
root
f09d0013e4 Reduce bitboard.h 2015-01-10 13:33:29 +00:00
root
c58c93ae4b Further reduce bitboard.h 2015-01-10 13:31:45 +00:00
root
9171b8a3de Reduce bitboard.h 2015-01-10 13:28:37 +00:00
root
80d2d47f7d Retire bitcount 2015-01-10 13:25:38 +00:00
root
0dca235bb1 Reduce init() more 2015-01-10 13:21:18 +00:00
root
2f7d17bc35 Reduce init() code 2015-01-10 13:19:47 +00:00
root
7df483068d Remove SquareBB 2015-01-10 13:18:43 +00:00
root
1aa5432cb2 Reduce bitboard.cpp 2015-01-10 12:47:14 +00:00
root
48de70cdb8 Remove copyright 2015-01-10 12:42:25 +00:00
root
0ee389b782 Remove attacks 2015-01-10 12:31:45 +00:00
root
a69619e174 Remove magics 2015-01-10 12:28:12 +00:00
root
1e66854938 Remove more types 2015-01-10 12:21:11 +00:00
root
d8d7be96af Reduce types.h Remove Value 2015-01-10 12:18:51 +00:00
root
8ed12c577c Reduce type.h 2015-01-10 12:13:53 +00:00
root
d399001462 Retire FORCE_INLINE 2015-01-10 12:10:49 +00:00
root
460e64667a Reduce types.h 2015-01-10 12:05:26 +00:00
root
c0fb31cac3 rm misc.h 2015-01-10 11:53:59 +00:00
root
45295d3718 rm platform.h 2015-01-10 11:49:11 +00:00
root
0133d9c108 Platform.h almost done 2015-01-10 11:47:19 +00:00
root
4b7ee6abe5 Further reduce platform.h 2015-01-10 11:45:11 +00:00
root
a0ef833174 reduce platform.h 2015-01-10 11:42:45 +00:00
root
30d4b78096 Remove the last unrelated cpp file 2015-01-10 11:39:00 +00:00
root
379aa35f2c Remove syzygy sub directory 2015-01-10 11:37:56 +00:00
root
f3cf782beb Remove more unrelated files 2015-01-10 11:36:44 +00:00
root
ece8f0780f Remove more files 2015-01-10 11:32:26 +00:00
root
748749dd4a Removed a bunch of unrelated files 2015-01-10 11:29:53 +00:00
root
0c3bec7e23 Reduced main 2015-01-10 11:16:10 +00:00
Marco Costalba
aea2fde611 Assorted formatting and comment tweaks in position.h
No functional change.
2015-01-07 09:09:41 +01:00
lucasart
b73ae56ee1 Tune null search reduction
STC

LLR: 2.96 (-2.94,2.94) [-0.50,4.50]
Total: 107289 W: 21851 L: 21325 D: 64113

LTC

LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 83837 W: 14378 L: 13916 D: 55543

Bench: 7604776

Resolves #194
2015-01-05 22:09:12 +00:00
Marco Costalba
3fda064a66 Retire one implementation of pop_lsb()
We have two implementations that are equivalent,
so retire one.

Plus usual tidy up of comments and code reshuffle.

No functional change.
2015-01-03 22:16:30 +01:00
lucasart
a6e292034a Remove a useless optimization
This optimization is aimed at old hardware only (withouth popcount), and even on
non popcount compile (ARCH=x86-64), it provides no mesurable speedup:

stat        test     master     diff
mean   2,341,779  2,354,699  -12,920
stdev     12,910     14,770   18,150

speedup      -0.55%
P(speedup>0)  23.8%

No functional change.

Resolves #187
2015-01-03 20:40:57 +00:00
Joona Kiiski
c7332d5610 Smoother king safety
STC:

LLR: 4.03 (-2.94,2.94) [-1.50,4.50]
Total: 35707 W: 7352 L: 7106 D: 21249

LTC:

LLR: 2.95 (-2.94,2.94) [0.00,4.00]
Total: 24563 W: 4330 L: 4095 D: 16138

Bench: 8411409

Resolves #190
2015-01-03 20:34:20 +00:00
Marco Costalba
9d1e2c0e76 Assorted work in uci.cpp
- Change UCI::value() signature

This function should only return the value,
lowerbound and upperbound info is up to the
caller because it requires external knowledge,
out of the scope of this little helper.

- Retire 'key' command

It is not an UCI command and is absolutely
useless: never used.

- Comments fixing and other trivia

No functional change.
2015-01-03 18:46:59 +01:00
Marco Costalba
c150f07291 Fix a silly warning with Intel compiler
Intel compiler cries for an explicit cast

warning #2259: non-pointer conversion from "double" to "int"
may lose significant bits

No functional change.
2015-01-03 10:17:04 +01:00
Marco Costalba
62f531254e Fix comments in thread.cpp
And reshuffle a bit the functions to place
them in a consistent order.

To be on the safe side, patch has been
validated for no regression/crashes with
a small 8K games test with 3 threads:

ELO: 3.98 +-4.4 (95%) LOS: 96.3%
Total: 8388 W: 1500 L: 1404 D: 5484

No functional change.
2015-01-03 09:34:58 +01:00
Marco Costalba
91cc82aa25 Let material probing to access per-thread table
It is up to material (and pawn) table look up
code to know where the per-thread tables are,
so change API to reflect this.

Also some comment fixing while there

No functional change.
2015-01-02 21:31:02 +01:00
Matthew Lai
19b8249ff4 Disable the default copy constructor for Position class
No functional change

Resolved #183
2015-01-02 20:19:11 +00:00
Stefan Geschwentner
25b492ab58 Big King Safety tuning
All king safety related terms (shelterweakness, stormdanger,
attackunits, ..) was tuned together. Additionally for attack units a
finer granularity (factor 4) is used.

STC
ELO: 9.22 +-3.1 (95%) LOS: 100.0%
Total: 19514 W: 4340 L: 3822 D: 11352

LTC
LLR: 2.96 (-2.94,2.94) [0.00,6.00]
Total: 6399 W: 1192 L: 1056 D: 4151

Bench: 8224782

Resolves #184
2015-01-03 03:33:02 +08:00
Marco Costalba
4c9b423161 Retire Material::space_weight()
Move all in evaluation.

Simplify the code and concentrate in a single place
all the logic behind space evaluation, making it much
more clear.

Verified also at STC it does not regress due to a possible
slow down:

LLR: 3.91 (-2.94,2.94) [-3.00,1.00]
Total: 65744 W: 13285 L: 13194 D: 39265

No functional change.
2015-01-02 10:02:28 +01:00
Marco Costalba
2416242c96 Additional tidy up in timeman.cpp
Fixed some comments and moved/renamed some
variables.

No functional change.
2014-12-30 09:49:54 +01:00
Marco Costalba
6933f05f4b Use score and value consistently
And other assorted small fixing, code style
tweaks and reshuffles in evaluate.cpp

No functional change.
2014-12-28 19:06:56 +01:00