29 #ifndef CPL_CPU_FEATURES_H 
   30 #define CPL_CPU_FEATURES_H 
   37 #ifdef HAVE_SSE_AT_COMPILE_TIME 
   38 #if (defined(_M_X64) || defined(__x86_64)) 
   39 #define HAVE_INLINE_SSE 
   41 static bool inline CPLHaveRuntimeSSE()
 
   46 bool CPLHaveRuntimeSSE();
 
   50 #ifdef HAVE_SSSE3_AT_COMPILE_TIME 
   52 #define HAVE_INLINE_SSSE3 
   54 static bool inline CPLHaveRuntimeSSSE3()
 
   63 #if defined(__GNUC__) && !defined(DEBUG) 
   64 extern bool bCPLHasSSSE3;
 
   66 static bool inline CPLHaveRuntimeSSSE3()
 
   71 bool CPLHaveRuntimeSSSE3();
 
   76 #ifdef HAVE_AVX_AT_COMPILE_TIME 
   78 #define HAVE_INLINE_AVX 
   80 static bool inline CPLHaveRuntimeAVX()
 
   84 #elif defined(__GNUC__) 
   85 extern bool bCPLHasAVX;
 
   87 static bool inline CPLHaveRuntimeAVX()
 
   92 bool CPLHaveRuntimeAVX();
 
const char * CPLGetConfigOption(const char *, const char *)
Get the value of a configuration option.
Definition: cpl_conv.cpp:1696
Core portability definitions for CPL.
Various convenience functions for working with strings and string lists.
bool CPLTestBool(const char *pszValue)
Test what boolean value contained in the string.
Definition: cpl_string.cpp:1557