Add -funroll-loops to CXXFLAGS
Optimize profiling data accuracy by enabling -funroll-loops during the profile
generation phase, in addition to its default activation by -fprofile-use.
This seems to produce a slightly faster binary, for most compilers.
make -j profile-build ARCH=x86-64-avx2
sf_base = 1392875 +/- 5905 (95%)
sf_test = 1402332 +/- 7303 (95%)
diff = 9457 +/- 4413 (95%)
speedup = 0.67896% +/- 0.317% (95%)
STC:
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 34784 W: 8970 L: 8665 D: 17149
Ptnml(0-2): 115, 3730, 9405, 4019, 123
https://tests.stockfishchess.org/tests/view/64d944815b17f7c21c0e92e1
closes https://github.com/official-stockfish/Stockfish/pull/4750
No functional change