Print NEON before POPCNT in compilation settings

Normally, Stockfish outputs the compilation settings from advanced to less
advanced, e.g.: `AVX512ICL VNNI AVX512 BMI2 AVX2 SSE41 SSSE3 SSE2 POPCNT`

With NEON, however, POPCNT is printed first, followed by the more advanced NEON
options: `POPCNT NEON_DOTPROD`

This PR places POPCNT behind the NEON options as well.

closes https://github.com/official-stockfish/Stockfish/pull/6402

no functional change
This commit is contained in:
Torsten Hellwig
2025-11-13 22:36:30 +01:00
committed by Joost VandeVondele
parent 9e38023a8c
commit 3f2405bf4e
+1 -1
View File
@@ -259,12 +259,12 @@ std::string compiler_info() {
#if defined(USE_SSE2) #if defined(USE_SSE2)
compiler += " SSE2"; compiler += " SSE2";
#endif #endif
compiler += (HasPopCnt ? " POPCNT" : "");
#if defined(USE_NEON_DOTPROD) #if defined(USE_NEON_DOTPROD)
compiler += " NEON_DOTPROD"; compiler += " NEON_DOTPROD";
#elif defined(USE_NEON) #elif defined(USE_NEON)
compiler += " NEON"; compiler += " NEON";
#endif #endif
compiler += (HasPopCnt ? " POPCNT" : "");
#if !defined(NDEBUG) #if !defined(NDEBUG)
compiler += " DEBUG"; compiler += " DEBUG";