mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00:00
Clang-10.0.0 poses as gcc-4.2: $ clang++ -E -dM - </dev/null | grep GNUC This means that Clang is using the workaround for the alignment bug of gcc-8 even though it does not have the bug (as far as I know). This patch should speed up AVX2 and AVX512 compiles on Windows (when using Clang), because it disables (for Clang) the gcc workaround we had introduced in this commit: https://github.com/official-stockfish/Stockfish/commit/875183b310a8249922c2155e82cb4cecfae2097e closes https://github.com/official-stockfish/Stockfish/pull/3050 No functional change.