51 #if defined(QT_NO_MAC_XARCH) || (defined(Q_OS_DARWIN) && (defined(__ppc__) || defined(__ppc64__))) 66 #if defined(QT_HAVE_SSE2) && (defined(__SSE2__) || defined(Q_CC_MSVC)) 67 #if defined(QT_LINUXBASE) 68 # define posix_memalign _lsb_hack_posix_memalign 71 # include <emmintrin.h> 72 # undef posix_memalign 77 # include <emmintrin.h> 81 #if defined(QT_HAVE_SSE3) && (defined(__SSE3__) || defined(Q_CC_MSVC)) 82 #include <pmmintrin.h> 86 #if defined(QT_HAVE_SSSE3) && (defined(__SSSE3__) || defined(Q_CC_MSVC)) 87 #include <tmmintrin.h> 91 #if defined(QT_HAVE_SSE4_1) && (defined(__SSE4_1__) || defined(Q_CC_MSVC)) 92 #include <smmintrin.h> 96 #if defined(QT_HAVE_SSE4_2) && (defined(__SSE4_2__) || defined(Q_CC_MSVC)) 97 #include <nmmintrin.h> 100 #ifndef _SIDD_UBYTE_OPS 101 #define _SIDD_UBYTE_OPS 0x00 104 #ifndef _SIDD_UWORD_OPS 105 #define _SIDD_UWORD_OPS 0x01 108 #ifndef _SIDD_SBYTE_OPS 109 #define _SIDD_SBYTE_OPS 0x02 112 #ifndef _SIDD_SWORD_OPS 113 #define _SIDD_SWORD_OPS 0x03 116 #ifndef _SIDD_CMP_EQUAL_ANY 117 #define _SIDD_CMP_EQUAL_ANY 0x00 120 #ifndef _SIDD_CMP_RANGES 121 #define _SIDD_CMP_RANGES 0x04 124 #ifndef _SIDD_CMP_EQUAL_EACH 125 #define _SIDD_CMP_EQUAL_EACH 0x08 128 #ifndef _SIDD_CMP_EQUAL_ORDERED 129 #define _SIDD_CMP_EQUAL_ORDERED 0x0c 132 #ifndef _SIDD_POSITIVE_POLARITY 133 #define _SIDD_POSITIVE_POLARITY 0x00 136 #ifndef _SIDD_NEGATIVE_POLARITY 137 #define _SIDD_NEGATIVE_POLARITY 0x10 140 #ifndef _SIDD_MASKED_POSITIVE_POLARITY 141 #define _SIDD_MASKED_POSITIVE_POLARITY 0x20 144 #ifndef _SIDD_MASKED_NEGATIVE_POLARITY 145 #define _SIDD_MASKED_NEGATIVE_POLARITY 0x30 148 #ifndef _SIDD_LEAST_SIGNIFICANT 149 #define _SIDD_LEAST_SIGNIFICANT 0x00 152 #ifndef _SIDD_MOST_SIGNIFICANT 153 #define _SIDD_MOST_SIGNIFICANT 0x40 156 #ifndef _SIDD_BIT_MASK 157 #define _SIDD_BIT_MASK 0x00 160 #ifndef _SIDD_UNIT_MASK 161 #define _SIDD_UNIT_MASK 0x40 167 #if defined(QT_HAVE_AVX) && (defined(__AVX__) || defined(Q_CC_MSVC)) 168 #include <immintrin.h> 172 #if !defined(QT_BOOTSTRAPPED) && (!defined(Q_CC_MSVC) || (defined(_M_X64) || _M_IX86_FP == 2)) 173 #define QT_ALWAYS_HAVE_SSE2 175 #endif // defined(QT_HAVE_SSE2) && (defined(__SSE2__) || defined(Q_CC_MSVC)) 178 #if defined __ARM_NEON__ 179 #define QT_ALWAYS_HAVE_NEON 180 #include <arm_neon.h> 185 #if defined(QT_HAVE_IWMMXT) 186 #include <mmintrin.h> 187 #if defined(Q_OS_WINCE) 188 # include "qplatformdefs.h" 192 #if defined(QT_HAVE_IWMMXT) 193 #if !defined(__IWMMXT__) && !defined(Q_OS_WINCE) 194 # include <xmmintrin.h> 195 #elif defined(Q_OS_WINCE_STD) && defined(_X86_) 196 # pragma warning(disable: 4391) 197 # include <xmmintrin.h> 202 #if defined(QT_HAVE_3DNOW) && (defined(__3dNOW__) || defined(Q_CC_MSVC)) 231 #define ALIGNMENT_PROLOGUE_16BYTES(ptr, i, length) \ 232 for (; i < static_cast<int>(qMin(static_cast<quintptr>(length), ((4 - ((reinterpret_cast<quintptr>(ptr) >> 2) & 0x3)) & 0x3))); ++i)
#define QT_END_NAMESPACE
This macro expands to.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_CORE_EXPORT uint qDetectCPUFeatures()