summaryrefslogtreecommitdiff
path: root/user/qt5-qtdeclarative/disable-jit-pmmx.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-09 17:36:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-09 17:36:31 +0000
commitddd410e8bfde227d50a93d03d90baa970195a529 (patch)
treef6f5fe1e407adf135c5ad067f44bcfadf7788cbc /user/qt5-qtdeclarative/disable-jit-pmmx.patch
parent099123cc4b32d8e9001af2faba7c8361d80205bf (diff)
downloadpackages-ddd410e8bfde227d50a93d03d90baa970195a529.tar.gz
packages-ddd410e8bfde227d50a93d03d90baa970195a529.tar.bz2
packages-ddd410e8bfde227d50a93d03d90baa970195a529.tar.xz
packages-ddd410e8bfde227d50a93d03d90baa970195a529.zip
user/qt5-qtdeclarative: Go to hell, Intel.
Diffstat (limited to 'user/qt5-qtdeclarative/disable-jit-pmmx.patch')
-rw-r--r--user/qt5-qtdeclarative/disable-jit-pmmx.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/user/qt5-qtdeclarative/disable-jit-pmmx.patch b/user/qt5-qtdeclarative/disable-jit-pmmx.patch
index 971fd9f14..a13522a89 100644
--- a/user/qt5-qtdeclarative/disable-jit-pmmx.patch
+++ b/user/qt5-qtdeclarative/disable-jit-pmmx.patch
@@ -16,3 +16,20 @@ So we remove the JIT entirely on pmmx/x86.
&& (defined(Q_OS_WIN) || defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_MAC) || defined(Q_OS_FREEBSD))
# define V4_ENABLE_JIT
#elif defined(Q_PROCESSOR_ARM_32) && (QT_POINTER_SIZE == 4) \
+--- qtdeclarative-everywhere-src-5.12.6/src/qml/qml/v8/qv8engine.cpp.old 2019-11-07 11:01:48.000000000 +0000
++++ qtdeclarative-everywhere-src-5.12.6/src/qml/qml/v8/qv8engine.cpp 2020-08-09 17:28:54.028331206 +0000
+@@ -138,14 +138,6 @@
+ , m_xmlHttpRequestData(nullptr)
+ #endif
+ {
+-#ifndef Q_OS_WASM // wasm does not have working simd QTBUG-63924
+-#ifdef Q_PROCESSOR_X86_32
+- if (!qCpuHasFeature(SSE2)) {
+- qFatal("This program requires an X86 processor that supports SSE2 extension, at least a Pentium 4 or newer");
+- }
+-#endif
+-#endif
+-
+ QML_MEMORY_SCOPE_STRING("QV8Engine::QV8Engine");
+ qMetaTypeId<QJSValue>();
+ qMetaTypeId<QList<int> >();