![]() |
Qt 6.x
The Qt SDK
|
#include "qsimd_p.h"
#include "qalgorithms.h"
#include <stdio.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | __INTEL_COMPILER_USE_INTRINSIC_PROTOTYPES |
#define | QT_FUNCTION_TARGET_BASELINE |
Functions | |
template<typename T , uint N> | |
QT_BEGIN_NAMESPACE QT_FUNCTION_TARGET_BASELINE uint | arraysize (T(&)[N]) |
static uint | detectProcessorFeatures () |
Q_ATOMIC (QCpuFeatureType) QT_MANGLE_NAMESPACE(qt_cpu_features)[1] | |
QT_FUNCTION_TARGET_BASELINE uint64_t QT_MANGLE_NAMESPACE() | qDetectCpuFeatures () |
QT_FUNCTION_TARGET_BASELINE void | qDumpCPUFeatures () |
Variables | |
static const char | features_string [] = "" |
static const int | features_indices [] = { 0 } |
static const quint64 | minFeature = qCompilerCpuFeatures |
static constexpr auto | SimdInitialized = QCpuFeatureType(1) << (sizeof(QCpuFeatureType) * 8 - 1) |
QT_BEGIN_NAMESPACE QT_FUNCTION_TARGET_BASELINE uint arraysize | ( | T(&) | [N] | ) |
Definition at line 66 of file qsimd.cpp.
Referenced by qDetectCpuFeatures(), and qDumpCPUFeatures().
|
inlinestatic |
Definition at line 553 of file qsimd.cpp.
Referenced by qDetectCpuFeatures(), and qDumpCPUFeatures().
Q_ATOMIC | ( | QCpuFeatureType | ) | )[1] |
QT_FUNCTION_TARGET_BASELINE uint64_t QT_MANGLE_NAMESPACE() 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().
QT_FUNCTION_TARGET_BASELINE void qDumpCPUFeatures | ( | ) |
Definition at line 623 of file qsimd.cpp.
References arraysize(), detectProcessorFeatures(), features_indices, features_string, i, minFeature, Q_UINT64_C, and qCompilerCpuFeatures.
|
static |
Definition at line 102 of file qsimd.cpp.
Referenced by qDetectCpuFeatures(), and qDumpCPUFeatures().
|
static |
Definition at line 101 of file qsimd.cpp.
Referenced by qDetectCpuFeatures(), and qDumpCPUFeatures().
|
static |
Definition at line 560 of file qsimd.cpp.
Referenced by qDetectCpuFeatures(), and qDumpCPUFeatures().
|
staticconstexpr |
Definition at line 562 of file qsimd.cpp.
Referenced by qDetectCpuFeatures().