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
40static bool inline CPLHaveRuntimeSSE() {
return true; }
42bool CPLHaveRuntimeSSE();
46#ifdef HAVE_SSSE3_AT_COMPILE_TIME
48#define HAVE_INLINE_SSSE3
49static bool inline CPLHaveRuntimeSSSE3()
58bool CPLHaveRuntimeSSSE3();
62#ifdef HAVE_AVX_AT_COMPILE_TIME
64#define HAVE_INLINE_AVX
65static bool inline CPLHaveRuntimeAVX() {
return true; }
67bool CPLHaveRuntimeAVX();
const char * CPLGetConfigOption(const char *, const char *)
Definition: cpl_conv.cpp:1690
bool CPLTestBool(const char *pszValue)
Definition: cpl_string.cpp:1526