diff --git a/api/tesseractmain.cpp b/api/tesseractmain.cpp index 783212d4b4..210eec61d6 100644 --- a/api/tesseractmain.cpp +++ b/api/tesseractmain.cpp @@ -28,6 +28,7 @@ #include "baseapi.h" #include "basedir.h" #include "renderer.h" +#include "simddetect.h" #include "strngs.h" #include "tprintf.h" #include "openclwrapper.h" @@ -90,6 +91,10 @@ void PrintVersionInfo() { } } #endif + if (SIMDDetect::IsAVXAvailable()) + printf(" Found AVX\n"); + if (SIMDDetect::IsSSEAvailable()) + printf(" Found SSE\n"); } void PrintUsage(const char* program) { diff --git a/arch/simddetect.cpp b/arch/simddetect.cpp index 53e7ccf1db..5d022a0e9a 100644 --- a/arch/simddetect.cpp +++ b/arch/simddetect.cpp @@ -60,7 +60,5 @@ SIMDDetect::SIMDDetect() { avx_available_ = (cpuInfo[2] & 0x10000000) != 0; } # endif - if (avx_available_) tprintf("Found AVX\n"); - if (sse_available_) tprintf("Found SSE\n"); #endif // X86_BUILD }