From 3f2405bf4e4c87d67e3939f2469419bcccb8a707 Mon Sep 17 00:00:00 2001 From: Torsten Hellwig Date: Sun, 9 Nov 2025 15:54:20 +0100 Subject: [PATCH] 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 --- src/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.cpp b/src/misc.cpp index 3bdde000f..d21497280 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -259,12 +259,12 @@ std::string compiler_info() { #if defined(USE_SSE2) compiler += " SSE2"; #endif - compiler += (HasPopCnt ? " POPCNT" : ""); #if defined(USE_NEON_DOTPROD) compiler += " NEON_DOTPROD"; #elif defined(USE_NEON) compiler += " NEON"; #endif + compiler += (HasPopCnt ? " POPCNT" : ""); #if !defined(NDEBUG) compiler += " DEBUG";