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:
Allan Sandfeld Jensen 2021-04-20 13:43:08 +02:00
parent 7a3071c4bc
commit 3b8a8d6430

View File

@ -83,34 +83,29 @@
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)
/* Data:
neon
crc32
*/
static const char features_string[] =
"\0"
" neon\0"
" crc32\0"
"\0";
static const int features_indices[] = { 0, 6 };
" crc32\0";
static const int features_indices[] = { 0, 1, 7 };
#elif defined(Q_PROCESSOR_MIPS)
/* Data:
dsp
dspr2
*/
static const char features_string[] =
"\0"
" dsp\0"
" dspr2\0"
"\0";
" dspr2\0";
static const int features_indices[] = {
0, 5
0, 1, 6
};
#elif defined(Q_PROCESSOR_X86)
# include "qsimd_x86.cpp" // generated by util/x86simdgen