is -45Elo for Minic ...
Does this happened to someone else ?
Any countermeasure (apart from falling back to gcc9)?
Thanks for your inputs !
g++10 versus g++9
Moderators: hgm, Dann Corbit, Harvey Williamson
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Re: g++10 versus g++9
How many games?
No, just checked at a thousand games. However, the GCC-10 generated binary is 4.5% faster for me.Does this happened to someone else ?
Run your engine with a single worker thread. Use a few positions to calculate to some depth so that it takes at least 10 seconds. Check whether reported PV and node counts match for the binaries generated with GCC-9 and GCC-10. It's not uncommon for bugs to only manifest upon a compiler update.Any countermeasure (apart from falling back to gcc9)?
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
Re: g++10 versus g++9
1000 games, so accurate enough to be a real issue.Ras wrote: ↑Wed Jan 13, 2021 2:18 pmHow many games?
No, just checked at a thousand games. However, the GCC-10 generated binary is 4.5% faster for me.Does this happened to someone else ?
Run your engine with a single worker thread. Use a few positions to calculate to some depth so that it takes at least 10 seconds. Check whether reported PV and node counts match for the binaries generated with GCC-9 and GCC-10. It's not uncommon for bugs to only manifest upon a compiler update.Any countermeasure (apart from falling back to gcc9)?
No difference in terms of nodes count (or any other statistic Minic is able to print), so no obvious bug.
But 10% lower nps.
Anyway Minic was always slow and affected by small changes. I guess there are too much bad design that the compiler cannot always handle easily and optimize. It's propably more on my side than one gcc.
Re: g++10 versus g++9
10% lower nps - that's at most 10 elo at hyperbullet, realistically about 5.
so I wonder where you get -45

Martin Sedlak
Re: g++10 versus g++9
Add - O3 to the compiler flags. (Hopefully this is a stupid suggestion.)