| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | static int maxBasicCpuidSupported() | - |
| 6 | { | - |
| 7 | | - |
| 8 | qregisterint tmp1; | - |
| 9 | int result; | - |
| 10 | asm ("xchg " "%%rbx"", %1\n" | - |
| 11 | "cpuid\n" | - |
| 12 | "xchg " "%%rbx"", %1\n" | - |
| 13 | : "=&a" (result), "=&r" (tmp1) | - |
| 14 | : "0" (0) | - |
| 15 | : "ecx", "edx"); | - |
| 16 | returnexecuted 1044 times by 96 tests: return result;Executed by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
result;executed 1044 times by 96 tests: return result;Executed by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| 1044 |
| 17 | } | - |
| 18 | | - |
| 19 | static void cpuidFeatures01(uint &ecx, uint &edx) | - |
| 20 | { | - |
| 21 | | - |
| 22 | qregisterint tmp1; | - |
| 23 | asm ("xchg " "%%rbx"", %2\n" | - |
| 24 | "cpuid\n" | - |
| 25 | "xchg " "%%rbx"", %2\n" | - |
| 26 | : "=&c" (ecx), "=&d" (edx), "=&r" (tmp1) | - |
| 27 | : "a" (1)); | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | }executed 1044 times by 96 tests: end of blockExecuted by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| 1044 |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | static void cpuidFeatures07_00(uint &ebx, uint &ecx) | - |
| 41 | { | - |
| 42 | | - |
| 43 | qregisteruint rbx; | - |
| 44 | qregisteruint rcx = 0; | - |
| 45 | asm ("xchg " "%%rbx"", %0\n" | - |
| 46 | "cpuid\n" | - |
| 47 | "xchg " "%%rbx"", %0\n" | - |
| 48 | : "=&r" (rbx), "+&c" (rcx) | - |
| 49 | : "a" (7) | - |
| 50 | : "%edx"); | - |
| 51 | ebx = rbx; | - |
| 52 | ecx = rcx; | - |
| 53 | | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | | - |
| 59 | }executed 1044 times by 96 tests: end of blockExecuted by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| 1044 |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | | - |
| 64 | | - |
| 65 | static void xgetbv(uint in, uint &eax, uint &edx) | - |
| 66 | { | - |
| 67 | | - |
| 68 | asm (".byte 0x0F, 0x01, 0xD0" | - |
| 69 | : "=a" (eax), "=d" (edx) | - |
| 70 | : "c" (in)); | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | | - |
| 76 | } never executed: end of block | 0 |
| 77 | | - |
| 78 | static quint64 detectProcessorFeatures() | - |
| 79 | { | - |
| 80 | | - |
| 81 | enum XCR0Flags { | - |
| 82 | X87 = 1 << 0, | - |
| 83 | XMM0_15 = 1 << 1, | - |
| 84 | YMM0_15Hi128 = 1 << 2, | - |
| 85 | BNDRegs = 1 << 3, | - |
| 86 | BNDCSR = 1 << 4, | - |
| 87 | OpMask = 1 << 5, | - |
| 88 | ZMM0_15Hi256 = 1 << 6, | - |
| 89 | ZMM16_31 = 1 << 7, | - |
| 90 | | - |
| 91 | SSEState = XMM0_15, | - |
| 92 | AVXState = XMM0_15 | YMM0_15Hi128, | - |
| 93 | AVX512State = AVXState | OpMask | ZMM0_15Hi256 | ZMM16_31 | - |
| 94 | }; | - |
| 95 | static const quint64 AllAVX512 = (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512F) | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512CD) | | - |
| 96 | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512ER) | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512PF) | | - |
| 97 | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512BW) | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512DQ) | | - |
| 98 | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512VL) | | - |
| 99 | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512IFMA) | (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512VBMI); | - |
| 100 | static const quint64 AllAVX2 = (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX2) | AllAVX512; | - |
| 101 | static const quint64 AllAVX = (static_cast<unsigned long long>(1ULL) << CpuFeatureAVX) | AllAVX2; | - |
| 102 | | - |
| 103 | quint64 features = 0; | - |
| 104 | int cpuidLevel = maxBasicCpuidSupported(); | - |
| 105 | | - |
| 106 | | - |
| 107 | | - |
| 108 | | - |
| 109 | ((!(cpuidLevel >= 1)) ? qt_assert("cpuidLevel >= 1",__FILE__,277) : qt_noop()); | - |
| 110 | | - |
| 111 | | - |
| 112 | uint cpuid01ECX = 0, cpuid01EDX = 0; | - |
| 113 | cpuidFeatures01(cpuid01ECX, cpuid01EDX); | - |
| 114 | | - |
| 115 | | - |
| 116 | | - |
| 117 | features = cpuid01ECX; | - |
| 118 | features |= static_cast<unsigned long long>(1ULL) << CpuFeatureSSE2; | - |
| 119 | | - |
| 120 | | - |
| 121 | uint xgetbvA = 0, xgetbvD = 0; | - |
| 122 | if (cpuid01ECX & (1u << 27)| TRUE | never evaluated | | FALSE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
|
) { | 0-1044 |
| 123 | | - |
| 124 | xgetbv(0, xgetbvA, xgetbvD); | - |
| 125 | } never executed: end of block | 0 |
| 126 | | - |
| 127 | uint cpuid0700EBX = 0; | - |
| 128 | uint cpuid0700ECX = 0; | - |
| 129 | if (cpuidLevel >= 7| TRUE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| | FALSE | never evaluated |
) { | 0-1044 |
| 130 | cpuidFeatures07_00(cpuid0700EBX, cpuid0700ECX); | - |
| 131 | | - |
| 132 | | - |
| 133 | features |= quint64(cpuid0700EBX) << 32; | - |
| 134 | }executed 1044 times by 96 tests: end of blockExecuted by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| 1044 |
| 135 | | - |
| 136 | if ((| TRUE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| | FALSE | never evaluated |
xgetbvA & AVXState) != AVXState| TRUE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| | FALSE | never evaluated |
) { | 0-1044 |
| 137 | | - |
| 138 | features &= ~AllAVX; | - |
| 139 | }executed 1044 times by 96 tests: end of blockExecuted by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
else if ((| TRUE | never evaluated | | FALSE | never evaluated |
xgetbvA & AVX512State) != AVX512State| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-1044 |
| 140 | | - |
| 141 | features &= ~AllAVX512; | - |
| 142 | } never executed: end of block else { | 0 |
| 143 | | - |
| 144 | if (cpuid0700ECX & (1u << 1)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 145 | features |= static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512VBMI; never executed: features |= static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512VBMI; | 0 |
| 146 | else | - |
| 147 | features &= ~(static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512VBMI); never executed: features &= ~(static_cast<unsigned long long>(1ULL) << CpuFeatureAVX512VBMI); | 0 |
| 148 | } | - |
| 149 | | - |
| 150 | returnexecuted 1044 times by 96 tests: return features;Executed by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
features;executed 1044 times by 96 tests: return features;Executed by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| 1044 |
| 151 | } | - |
| 152 | static const char features_string[] = | - |
| 153 | " sse3\0" | - |
| 154 | " sse2\0" | - |
| 155 | " avx512vbmi\0" | - |
| 156 | " ssse3\0" | - |
| 157 | " fma\0" | - |
| 158 | " cmpxchg16b\0" | - |
| 159 | " sse4.1\0" | - |
| 160 | " sse4.2\0" | - |
| 161 | " movbe\0" | - |
| 162 | " popcnt\0" | - |
| 163 | " aes\0" | - |
| 164 | " avx\0" | - |
| 165 | " f16c\0" | - |
| 166 | " rdrand\0" | - |
| 167 | " bmi\0" | - |
| 168 | " hle\0" | - |
| 169 | " avx2\0" | - |
| 170 | " bmi2\0" | - |
| 171 | " rtm\0" | - |
| 172 | " avx512f\0" | - |
| 173 | " avx512dq\0" | - |
| 174 | " rdseed\0" | - |
| 175 | " avx512ifma\0" | - |
| 176 | " avx512pf\0" | - |
| 177 | " avx512er\0" | - |
| 178 | " avx512cd\0" | - |
| 179 | " sha\0" | - |
| 180 | " avx512bw\0" | - |
| 181 | " avx512vl\0" | - |
| 182 | "\0"; | - |
| 183 | | - |
| 184 | static const quint8 features_indices[] = { | - |
| 185 | 0, 6, 12, 5, 5, 5, 5, 5, | - |
| 186 | 5, 24, 5, 5, 31, 36, 5, 5, | - |
| 187 | 5, 5, 5, 48, 56, 5, 64, 71, | - |
| 188 | 5, 79, 5, 5, 84, 89, 95, 5, | - |
| 189 | 5, 5, 5, 103, 108, 113, 5, 5, | - |
| 190 | 119, 5, 5, 125, 5, 5, 5, 5, | - |
| 191 | 130, 139, 149, 5, 5, 157, 5, 5, | - |
| 192 | 5, 5, 169, 179, 189, 199, 204, 214 | - |
| 193 | }; | - |
| 194 | | - |
| 195 | | - |
| 196 | | - |
| 197 | | - |
| 198 | | - |
| 199 | | - |
| 200 | static const int features_count = (sizeof features_indices) / (sizeof features_indices[0]); | - |
| 201 | | - |
| 202 | | - |
| 203 | static const quint64 minFeature = qCompilerCpuFeatures; | - |
| 204 | __attribute__((visibility("default"))) QBasicAtomicInteger<quint64> qt_cpu_features[1] = { { 0 } }; | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | | - |
| 209 | void qDetectCpuFeatures() | - |
| 210 | { | - |
| 211 | quint64 f = detectProcessorFeatures(); | - |
| 212 | QByteArray disable = qgetenv("QT_NO_CPU_FEATURE"); | - |
| 213 | if (!disable.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
|
) { | 0-1044 |
| 214 | disable.prepend(' '); | - |
| 215 | for (int i = 0; i < features_count| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 216 | if (disable.contains(features_string + features_indices[i])| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 217 | f &= ~(static_cast<unsigned long long>(1ULL) << i); never executed: f &= ~(static_cast<unsigned long long>(1ULL) << i); | 0 |
| 218 | } never executed: end of block | 0 |
| 219 | } never executed: end of block | 0 |
| 220 | | - |
| 221 | | - |
| 222 | bool runningOnValgrind = __extension__ ({unsigned int _qzz_res; { volatile unsigned long long int _zzq_args[6]; volatile unsigned long long int _zzq_result; _zzq_args[0] = (unsigned long long int)(VG_USERREQ__RUNNING_ON_VALGRIND); _zzq_args[1] = (unsigned long long int)(0); _zzq_args[2] = (unsigned long long int)(0); _zzq_args[3] = (unsigned long long int)(0); _zzq_args[4] = (unsigned long long int)(0); _zzq_args[5] = (unsigned long long int)(0); __asm__ volatile("rolq $3, %%rdi ; rolq $13, %%rdi\n\t" "rolq $61, %%rdi ; rolq $51, %%rdi\n\t" "xchgq %%rbx,%%rbx" : "=d" (_zzq_result) : "a" (&_zzq_args[0]), "0" (0) : "cc", "memory" ); _qzz_res = _zzq_result; (void)_qzz_res; }; _qzz_res; }); | - |
| 223 | | - |
| 224 | | - |
| 225 | | - |
| 226 | if (!runningOnValgrind| TRUE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| | FALSE | never evaluated |
&& (minFeature != 0| TRUE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| | FALSE | never evaluated |
&& (| TRUE | never evaluated | | FALSE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
|
f & minFeature) != minFeature| TRUE | never evaluated | | FALSE | evaluated 1044 times by 96 testsEvaluated by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
|
)) { | 0-1044 |
| 227 | quint64 missing = minFeature & ~f; | - |
| 228 | fprintf(stderr, "Incompatible processor. This Qt build requires the following features:\n "); | - |
| 229 | for (int i = 0; i < features_count| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 230 | if (missing & (static_cast<unsigned long long>(1ULL) << i)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 231 | fprintf(stderr, "%s", features_string + features_indices[i]); never executed: fprintf(stderr, "%s", features_string + features_indices[i]); | 0 |
| 232 | } never executed: end of block | 0 |
| 233 | fprintf(stderr, "\n"); | - |
| 234 | fflush(stderr); | - |
| 235 | QMessageLogger(__FILE__, 701, __PRETTY_FUNCTION__).fatal("Aborted. Incompatible processor: missing feature 0x%llx -%s.", missing, | - |
| 236 | features_string + features_indices[ffsll(missing) - 1]); | - |
| 237 | } never executed: end of block | 0 |
| 238 | | - |
| 239 | qt_cpu_features[0].store(f | quint32(QSimdInitialized)); | - |
| 240 | | - |
| 241 | | - |
| 242 | | - |
| 243 | }executed 1044 times by 96 tests: end of blockExecuted by:- tst_Collections
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAnimationGroup
- tst_QAuthenticator
- tst_QByteArray
- tst_QCache
- tst_QCommandLineParser
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusContext
- tst_QDBusInterface
- tst_QDBusMetaObject
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDBusXmlParser
- tst_QDate
- tst_QDateTime
- tst_QDebug
- tst_QDir
- ...
| 1044 |
| 244 | | - |
| 245 | void qDumpCPUFeatures() | - |
| 246 | { | - |
| 247 | quint64 features = qCpuFeatures() & ~quint64(QSimdInitialized); | - |
| 248 | printf("Processor features: "); | - |
| 249 | for (int i = 0; i < features_count| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 250 | if (features & (static_cast<unsigned long long>(1ULL) << i)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 251 | printf("%s%s", features_string + features_indices[i], never executed: printf("%s%s", features_string + features_indices[i], minFeature & (static_cast<unsigned long long>(1ULL) << i) ? "[required]" : ""); | 0 |
| 252 | minFeature & (static_cast<unsigned long long>(1ULL) << i) ? "[required]" : ""); never executed: printf("%s%s", features_string + features_indices[i], minFeature & (static_cast<unsigned long long>(1ULL) << i) ? "[required]" : ""); | 0 |
| 253 | } never executed: end of block | 0 |
| 254 | puts(""); | - |
| 255 | } never executed: end of block | 0 |
| 256 | | - |
| 257 | | - |
| | |