summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qsimd_x86.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-01-28 19:38:42 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-02-19 13:40:21 -0800
commitb2298b7e940eccdd3af22855b8d4fce0d8049ca2 (patch)
tree4f872602195647c9a9a5696b8d666bc88235028e /src/corelib/global/qsimd_x86.cpp
parent8b78439980c14b776aea64b9dfdd24eb580120f1 (diff)
qsimd_p.h: let the generator script generate the ARCH target strings
__attribute__((target("arch=xxxx"))) does not work because the compilers (GCC at least) don't test the CPU features that they are targeting, so we keep getting "inline failed" compiler errors. GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90129 Upstream patch: https://github.com/opendcdiag/opendcdiag/pull/59 Change-Id: I6fcda969a9e9427198bffffd16cea09fda4406d2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/global/qsimd_x86.cpp')
-rw-r--r--src/corelib/global/qsimd_x86.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qsimd_x86.cpp b/src/corelib/global/qsimd_x86.cpp
index f51536259e..9609f21ec4 100644
--- a/src/corelib/global/qsimd_x86.cpp
+++ b/src/corelib/global/qsimd_x86.cpp
@@ -146,8 +146,8 @@ static const struct X86Architecture x86_architectures[] = {
{ cpu_icelake_server, "Ice Lake (Server)" },
{ cpu_icelake_client, "Ice Lake (Client)" },
{ cpu_alderlake, "Alder Lake" },
- { cpu_cooperlake, "Cooper Lake" },
{ cpu_cannonlake, "Cannon Lake" },
+ { cpu_cooperlake, "Cooper Lake" },
{ cpu_cascadelake, "Cascade Lake" },
{ cpu_skylake_avx512, "Skylake (Avx512)" },
{ cpu_skylake, "Skylake" },