Fix missing CPU feature feedback
Add empty string first like we have for x86. This fixes offset checks, and reported missing features. Change-Id: I09f6be05641d5ed9ae5d91fa72f678fef60bdbe7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 3b8031059a14dd1d3bc65589a887092c22d2629b)
This commit is contained in:
parent
7a3071c4bc
commit
3b8a8d6430
@ -83,34 +83,29 @@
|
|||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
/*
|
|
||||||
* Use kdesdk/scripts/generate_string_table.pl to update the table below. Note
|
|
||||||
* we remove the terminating -1 that the script adds.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// begin generated
|
|
||||||
#if defined(Q_PROCESSOR_ARM)
|
#if defined(Q_PROCESSOR_ARM)
|
||||||
/* Data:
|
/* Data:
|
||||||
neon
|
neon
|
||||||
crc32
|
crc32
|
||||||
*/
|
*/
|
||||||
static const char features_string[] =
|
static const char features_string[] =
|
||||||
|
"\0"
|
||||||
" neon\0"
|
" neon\0"
|
||||||
" crc32\0"
|
" crc32\0";
|
||||||
"\0";
|
|
||||||
static const int features_indices[] = { 0, 6 };
|
static const int features_indices[] = { 0, 1, 7 };
|
||||||
#elif defined(Q_PROCESSOR_MIPS)
|
#elif defined(Q_PROCESSOR_MIPS)
|
||||||
/* Data:
|
/* Data:
|
||||||
dsp
|
dsp
|
||||||
dspr2
|
dspr2
|
||||||
*/
|
*/
|
||||||
static const char features_string[] =
|
static const char features_string[] =
|
||||||
|
"\0"
|
||||||
" dsp\0"
|
" dsp\0"
|
||||||
" dspr2\0"
|
" dspr2\0";
|
||||||
"\0";
|
|
||||||
|
|
||||||
static const int features_indices[] = {
|
static const int features_indices[] = {
|
||||||
0, 5
|
0, 1, 6
|
||||||
};
|
};
|
||||||
#elif defined(Q_PROCESSOR_X86)
|
#elif defined(Q_PROCESSOR_X86)
|
||||||
# include "qsimd_x86.cpp" // generated by util/x86simdgen
|
# include "qsimd_x86.cpp" // generated by util/x86simdgen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user