Joost VandeVondele
d8d1ecca8c
Fixes Makefile issues, #2870
2020-08-04 22:25:01 +02:00
Joost VandeVondele
b16db14c87
Merge branch 'netDownloadMakefile' into nnue-player-wip
2020-08-03 20:14:52 +02:00
Joost VandeVondele
2c51afdb14
A new make target to download the default net
...
```
make net
```
will download the default net as specified in ucioption.cpp file.
This target assumes that `curl` or `wget` is available (in addition to grep and sed).
Needs some testing on different systems (windows, mac, etc.) to see if the implementation is portable enough.
Note that this is not part executed as part of a `make build` to make sure that a build doesn't need a network connection.
2020-08-03 14:28:54 +02:00
Joost VandeVondele
1d01b275ce
Small Makefile doc fix
2020-08-03 07:23:11 +02:00
Joost VandeVondele
aa339506db
Small target adjustments
2020-08-01 19:19:10 +02:00
Joost VandeVondele
9f2f46c212
[NNUE] adjust Makefile targets
...
clearly differentiate between sse3 and ssse3.
assume popcnt from sse4.
2020-08-01 17:30:29 +02:00
Joost VandeVondele
98ffe0cd97
[NNUE] Wrap aligned_alloc
...
For some systems std::aligned_alloc is not available even if c++17 is specified.
Wrap the function and use specific solutions.
Update macosx-version-min to the required minimum.
No functional change.
2020-07-26 20:32:00 +02:00
Joost VandeVondele
2b0ba70436
[NNUE] update travis CI to use new toolchain
...
No functional change.
2020-07-26 18:03:54 +02:00
Joost VandeVondele
49d2cd8b13
[NNUE] update x86-64-modern target
...
slightly increase requirements on modern from sse3 to ssse3.
2020-07-25 17:23:07 +02:00
Dariusz Orzechowski
458a920788
Fix makefile option x86-64-modern
2020-07-20 13:53:21 +02:00
Dariusz Orzechowski
871e6b8c83
Merge latest changes from nodchip repo
2020-07-20 13:19:25 +02:00
Dariusz Orzechowski
76d8f6128a
Fix popcnt option in makefile
2020-07-20 11:39:52 +02:00
nodchip
c0e1235fef
Added a description to Makefile.
2020-07-20 17:36:09 +09:00
No name
74049a450c
Add NNUE targets to the output of 'make help'
2020-07-20 17:29:20 +09:00
Dariusz Orzechowski
c0bbce092b
Restore ARCH=x86-64-modern in the makefile
2020-07-20 09:59:40 +02:00
Dariusz Orzechowski
4cceeb7380
Remove code unneeded for playing, refactor, update to latest master dev
2020-07-20 05:45:24 +02:00
mstembera
77018c77cc
Fix profile builds for AVX512.
2020-07-19 21:25:50 +09:00
nodchip
afd7d0ea4d
Fixed a bug that Makefile specifies -mpopcnt for armv8-a.
2020-07-19 18:34:35 +09:00
nodchip
36092b855a
Removed the x86-64-ssse3-popcnt architecture.
2020-07-19 14:17:35 +09:00
nodchip
3bbe4802b1
Removed the sse41-popcnt architecture.
2020-07-19 14:02:49 +09:00
nodchip
c001a4e62d
Revert "Removed x86-64-ssse3-popcnt and x86-64-sse41-popcnt."
...
This reverts commit 92c2167481 .
2020-07-19 13:58:19 +09:00
nodchip
92c2167481
Removed x86-64-ssse3-popcnt and x86-64-sse41-popcnt.
2020-07-19 12:52:20 +09:00
nodchip
a4786db4c2
Added support for architectures which supports SSE3+POPCNT, SSSE3+POPCNT and SSE41+POPCNT.
2020-07-19 12:41:50 +09:00
nodchip
c24ad8d8b5
Supported sse3 build.
2020-07-19 12:26:37 +09:00
mstembera
961a4dad5c
Add AVX512 support.
...
bench: 3909820
2020-07-19 12:07:28 +09:00
No name
961047ed6e
Experimental support for PGO builds of NNUE
...
Only 'nnue' target and only gcc/mingw.
(does not clean profile data generated by other compilers)
To use:
make profile-nnue ARCH=arch
(see 'make help' for list of supported archs)
2020-07-16 08:53:03 +09:00
No name
fcb391919f
Disable EVAL_HASH for 'nnue' target
...
Gives a 7% speed gain for me, without any parameter set loaded
(all-zero).
2020-07-11 19:29:05 +09:00
nodchip
d7c358cf19
Fixed descriptions and sanity checks in Makefile.
2020-07-10 16:55:32 +09:00
nodchip
bc6a8d09e9
Unified the nnue-learn and nnue-learn-use-blas targets into nnue-learn.
2020-07-10 16:17:35 +09:00
nodchip
1de1eb2d0d
Refactoring: Restructured the architecture list in Makefile.
2020-07-10 16:13:21 +09:00
No name
081761d084
Add support for SSSE3-only compiles
...
For Core 2 Duo.
To compile:
make ARCH=x86-64 ssse3=yes nnue
No observable difference in speed to SSE4.1 on my machine.
2020-07-10 15:21:50 +09:00
No name
b9a32fe331
Define USE_SSE2 for any x86-64 target
...
Rather than only when popcnt=yes
x86-64 instruction set includes SSE2.
2020-07-10 14:56:33 +09:00
joergoster
13824d8b96
Explicitly specify SSE41.
2020-07-02 16:15:39 +09:00
joergoster
145e4c2a10
Add SSE41 switch.
...
This allows building modern compiles with SSE41 enabled,
which gives a nice speedup on my Bulldozer CPU.
For example:
make nnue ARCH=x86-64-modern sse41=yes -j
2020-07-02 16:15:39 +09:00
joergoster
32c204fb56
Merge branch 'master' into sf-nnue-nodchip
2020-06-27 10:57:09 +02:00
Joost VandeVondele
ca41ee6632
Revert LTO for mingw on windows.
...
LTO with static linking is still only working with the latest versions of gcc,
causing problems for some devs.
on a modern mingw toolchain LTO optimizations can still be enabled as:
```
CXXFLAGS='-flto' make -j ARCH=x86-64-modern COMP=mingw profile-build
```
fixes https://github.com/official-stockfish/Stockfish/issues/2769
closes https://github.com/official-stockfish/Stockfish/pull/2774
No functional change.
2020-06-27 10:22:27 +02:00
Niklas Fiekas
aecfca2dc2
support popcnt on armv8
...
* Supports popcnt (thanks @daylen)
* bits = 64 is now the default
Tested with g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0 on ThunderX CN8890,
yields about 9% speedup.
Also tested with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final).
closes https://github.com/official-stockfish/Stockfish/pull/2770
No functional change.
2020-06-27 10:19:29 +02:00
joergoster
151a0dda91
Merge branch 'master' into sf-nnue-nodchip
2020-06-25 15:10:12 +02:00
UnaiCorzo
11483fe6d9
Makefile: support lto on mingw, default to 64bits
...
Clean and organize uppercase and spaces
fixes https://github.com/official-stockfish/Stockfish/issues/2731
closes https://github.com/official-stockfish/Stockfish/pull/2763
No functional change
2020-06-24 22:14:25 +02:00
Niklas Fiekas
527d832a6d
Support ARCH=armv8 in Makefile ( #2355 )
...
Tested with bench run after compiling with
- g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
- clang version 3.8.1-24
on ThunderX CN8890.
closes https://github.com/official-stockfish/Stockfish/pull/2760
fixes https://github.com/official-stockfish/Stockfish/issues/2355
No functional change.
2020-06-24 21:59:57 +02:00
joergoster
89bbe86800
Merge branch 'master' of https://github.com/nodchip/Stockfish into sf-nnue-nodchip
2020-06-24 17:47:55 +02:00
nodchip
999f5ec446
COMP=msys2を指定できるようにした
2020-06-24 00:47:34 +09:00
nodchip
43e78187d7
ARCH=x86-64-avx2を指定できるようにした
2020-06-24 00:27:45 +09:00
nodchip
76b0de40a1
コンパイラーオプションを-std=c++14から-std=c++17に変更した
2020-06-23 23:47:59 +09:00
nodchip
6c7a594362
Added "-Wl,-s" option.
2020-06-22 10:27:52 +09:00
Joost VandeVondele
6f15e7fab2
small cleanups
...
closes https://github.com/official-stockfish/Stockfish/pull/2695
No functional change
2020-06-21 15:22:20 +02:00
nodchip
5c936572e9
Merge branch 'master' of github.com:official-stockfish/Stockfish
...
# Conflicts:
# src/Makefile
# src/position.cpp
# src/position.h
# src/search.cpp
# src/types.h
# src/uci.cpp
2020-06-08 23:09:51 +09:00
tttak
91a7557ab4
test nnue test_features等の有効化
2020-06-08 15:07:48 +09:00
nodchip
a85e3055f4
いくつかのターゲットでOpenMPを有効にした
2020-06-02 00:13:35 +09:00
tttak
78134b7641
OpenMPの有効化
2020-06-01 23:51:05 +09:00