]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Output the SSE2 flag in compiler_info
[stockfish] / src / misc.cpp
index ab52d30bb15bd449d4d6bcdff5681c7ced055efc..1cee4726f3b1a6d7dbb76c694775ef35ddc16af9 100644 (file)
@@ -225,6 +225,7 @@ const std::string compiler_info() {
   #if defined(USE_AVX512)
     compiler += " AVX512";
   #endif
+  compiler += (HasPext ? " BMI2" : "");
   #if defined(USE_AVX2)
     compiler += " AVX2";
   #endif
@@ -234,11 +235,14 @@ const std::string compiler_info() {
   #if defined(USE_SSSE3)
     compiler += " SSSE3";
   #endif
-    compiler += (HasPext ? " BMI2" : "");
-    compiler += (HasPopCnt ? " POPCNT" : "");
+  #if defined(USE_SSE2)
+    compiler += " SSE2";
+  #endif
+  compiler += (HasPopCnt ? " POPCNT" : "");
   #if defined(USE_MMX)
     compiler += " MMX";
   #endif
+
   #if !defined(NDEBUG)
     compiler += " DEBUG";
   #endif