Comments (3)
I am reasonably confident that is only needed for the pext instruction. Assuming that I am right and the Rock64 does not support the BMI2 instruction set, the easiest workaround is to simply remove line 30 in Winter/src/general/magic.cc
If this does not suffice you can further replace -march=native with -m64. This may have some effect on performance.
Could you try that and get back to me? If it works I will patch Winter to avoid issues like this for other users in the future.
from winter.
Thank you very much for your prompt response.
Simply removing line 30 as per your suggestion works. We can keep -march=native option.
You are right that rock64 doesn't support BMI2 set.
root@rock64:~/Winter# lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 4
Model name: Cortex-A53
Stepping: r0p4
CPU max MHz: 1296.0000
CPU min MHz: 408.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32
root@rock64:~/Winter# file Winter
Winter: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=75e4cd43bbcd91a9a975d55950f4831a724165ba, not stripped
To make sure everything works fine, I have this compiled version of Winter pitted against Lc0 using my own Javascript/PHP GUI. Interestingly, Winter managed to check mate Lc0 in 47 moves.
Again, thank you very much. Just let me know if you need any info regarding my rock64.
I am pasting the moves below just in case you are interested:
[ white: "Winter 0.84"]
[ black: "Lc0 I-forget-the-network-file-name"]
- e2e4 c7c5
- b1c3 b8c6
- g1f3 e7e5
- f1c4 f8e7
- e1g1 g8f6
- d2d3 e8g8
- h2h3 d7d6
- c1g5 h7h6
- g5f6 e7f6
- c3d5 g8h8
- c2c3 c8e6
- d5e3 d8d7
- a2a3 a8c8
- c4e6 f7e6
- b2b4 b7b6
- d1e2 c6e7
- f1c1 e7g6
- g2g3 f6d8
- h3h4 d7f7
- g1g2 d8h4
- f3h4 g6h4
- g3h4 f7e7
- b4c5 c8c5
- e2h5 f8f4
- c1c2 h8h7
- a1h1 c5a5
- e3c4 a5c5
- h1h3 g7g6
- h5d1 f4h4
- h3h4 e7h4
- d1f3 h4e7
- a3a4 c5c7
- f3g3 h7g7
- c2c1 c7c6
- c1h1 e7f6
- g3g4 c6c7
- c4d6 c7e7
- g4g3 g7h7
- d6c4 h6h5
- c4e5 e7e8
- h1h4 e8g8
- h4f4 f6e5
- f4f7 h7h6
- g3e5 b6b5
- e5f4 g6g5
- f4f6 g8g6
- f6h8 a1a1
from winter.
Thanks for the bug report and game. I have made an update so you shouldn't have to change any source code when you compile Winter in the future.
I am closing this issue now!
from winter.
Related Issues (18)
- How to train ? HOT 5
- En Passant bug? HOT 1
- Winter for android HOT 1
- TCEC season 14 participation
- Winter 0.9.1 is NN but only 600 Kb ? HOT 1
- Wrong seldepth HOT 2
- Compilation issue HOT 1
- make on Raspberry Pi (64 bit)
- Can you build a Korean chess engine?
- 50-move-rule and mate HOT 4
- Compiling issue on Android using Termux HOT 1
- Compile Winter 0.6 on macOS HOT 4
- KingDanger eval issue HOT 3
- Question about compilation HOT 2
- Training script... HOT 1
- many trained NNs ? HOT 6
- Winter Playing Chess Variants, Musketeer Chess HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winter.