#include <QtCore/private/qglobal_p.h>
#include <QtCore/qsimd.h>
#include <stdatomic.h>
Go to the source code of this file.
◆ ALIGNMENT_PROLOGUE_16BYTES
◆ ALIGNMENT_PROLOGUE_32BYTES
◆ Q_ATOMIC
#define Q_ATOMIC |
( |
|
T | ) |
_Atomic(T) |
◆ qCpuHasFeature
#define qCpuHasFeature |
( |
|
feature | ) |
|
Value:
|| ((
qCpuFeatures() & CpuFeature ## feature) == CpuFeature ## feature))
static const uint64_t qCompilerCpuFeatures
static uint64_t qCpuFeatures()
Definition at line 378 of file qsimd_p.h.
◆ QT_COMPILER_SUPPORTS
#define QT_COMPILER_SUPPORTS |
( |
|
x | ) |
(QT_COMPILER_SUPPORTS_ ## x - 0) |
◆ QT_COMPILER_SUPPORTS_HERE
#define QT_COMPILER_SUPPORTS_HERE |
( |
|
x | ) |
(__ ## x ## __) |
◆ QT_FUNCTION_TARGET
#define QT_FUNCTION_TARGET |
( |
|
x | ) |
|
◆ SIMD_EPILOGUE
#define SIMD_EPILOGUE |
( |
|
i, |
|
|
|
length, |
|
|
|
max |
|
) |
| for (int _i = 0; _i < max && i < length; ++i, ++_i) |
◆ QCpuFeatureType
◆ CPUFeatures
◆ Q_ATOMIC()
◆ qCpuFeatures()
static uint64_t qCpuFeatures |
( |
| ) |
|
|
inlinestatic |
◆ qDetectCpuFeatures()
Definition at line 566 of file qsimd.cpp.
References arraysize(), assert, detectProcessorFeatures(), features_indices, features_string, i, minFeature, Q_UINT64_C, Q_UNLIKELY, qAbort(), QT_MANGLE_NAMESPACE, SimdInitialized, str, and token.
Referenced by qCpuFeatures().
◆ qYieldCpu()
static void qYieldCpu |
( |
| ) |
|
|
inlinestatic |
◆ qCompilerCpuFeatures
const uint64_t qCompilerCpuFeatures = 0 |
|
static |