Comments (11)
It’s part of the other pr. This is currently not an issue in stockfish. It’s only an issue in your pr, where you should propose a solution
from stockfish.
Tbh I'm with maxim here. If a compiler bug can cause PRs to get false CI results, that is a problem for the project as a whole, not merely any such PR.
from stockfish.
@dubslow The proposed PR introduces such a gcc bug, it currently doesnt exist to my understanding in master.
So I dont see why there should be an issue for a compiler bug for code that currently doesnt exist in master.
It's the PR's job to come up with a solution.
And simply removing the used version aint it, as vondele said.
from stockfish.
This shouldn’t be issue since it’s only an issue of your other pr imo.
from stockfish.
This intrinsic makes Elo gain. Should I put IFDEF GCC? Or abandon the PR? But it makes Elo gain and speedup.
from stockfish.
This intrinsic allows to make one 512-bit memory load and then split to four 128-bit registers instead of four 128-bit memory loads and vice versa - combine four 128-bit registers to one 512-bit registers and make one 512-bit memory store. This approach is faster on AMD with 256 memory load/store units, and even faster on Intel with 512-bit memory load/store units.
If we can avoid this gcc 9 bug either by IFDEF GCC (to make this approach work only under GCC 10+ or clang) we can make further speedups on different places of Stockfish.
from stockfish.
There are probably many more compiler bugs out there, should we create an issue for all possible ones and fix what we don’t have currently ?
from stockfish.
Maybe update CI to not use an ancient version of gcc?
from stockfish.
any compiler has plenty of code generation bugs. gcc 9 is still pretty widely used, it is good to have it part of the CI. It would be an issue if we run into the bug with the master version of SF. If there is a bug in a widely used compiler we can have a workaround for that in the code, there are other examples in SF that have such workarounds. Of course, the fewer such workarounds needed, the better.
see types.h near line 60.
from stockfish.
@Disservin come now dont be silly, only compiler bugs which are directly proven to cause issues, such as this case.
vondele has the right of it. Do a standard cost-benefit analysis. In this case, the PR's purported claim of few-or-several-percent speedup on certain arches may well be worth the cost of either adding a workaround or removing the version from the CI.
from stockfish.
@dubslow The proposed PR introduces such a gcc bug, it currently doesnt exist to my understanding in master. So I dont see why there should be an issue for a compiler bug for code that currently doesnt exist in master. It's the PR's job to come up with a solution.
And simply removing the used version aint it, as vondele said.
With Disservin here. The PR should include the solution. It can edit CIs as well. ;)
from stockfish.
Related Issues (20)
- Stockfish 15.1 crashes for: position fen 3qk1nb/1p3p2/p1r1p1p1/3p4/3P4/2N1BP2/PPPQ1P2/R3K3 w Qk - 0 15 HOT 5
- Not an issue. Just need help from professionals. HOT 2
- Commit 55df0ee causes runtime crash when compiled with MinGW-w64 on Windows 10. HOT 14
- Javascript engine blunders directly after 50 move draw rule HOT 7
- Stockfish release 16.1 for vnni256 not working. HOT 2
- How to compile Stockfish 14.1 on Apple M1 MAX macOS for ipmanchess ranking list? HOT 13
- Update from arm_version: '8' to arm_version: '9.2' is needed HOT 2
- Lots of issue about `position fen` and `go` command HOT 5
- export_net only exports the bignet HOT 1
- The windows VNNI binary does not work. HOT 10
- Stockfish > 16 ignores setoption after go HOT 18
- False evaluations for positions with multiple knights HOT 2
- Issue with the benchmark HOT 8
- Again about the benchmark HOT 28
- wrong mated in scores HOT 1
- Stockfish needlessly hangs the queen HOT 14
- Winning evaluation with tablebases in cursed win HOT 19
- issue when running the .exe of version 16.1 on Windows. HOT 1
- expect not properly spawning Stockfish in github actions.
- eval command breaks after AccumulatorRefreshTable merged
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 stockfish.