Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 254767 Details for
Bug 344915
x11-libs/qt-core-4.7.1 wrongly detects sse4.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Mike's patch (merged upstream)
ca2e8b6dc176576f7217f4b7209994eddad1a358.patch (text/plain), 1.15 KB, created by
Davide Pesavento
on 2010-11-18 22:19:43 UTC
(
hide
)
Description:
Mike's patch (merged upstream)
Filename:
MIME Type:
Creator:
Davide Pesavento
Created:
2010-11-18 22:19:43 UTC
Size:
1.15 KB
patch
obsolete
>From ca2e8b6dc176576f7217f4b7209994eddad1a358 Mon Sep 17 00:00:00 2001 >From: Mike McQuaid <mike@mikemcquaid.com> >Date: Thu, 18 Nov 2010 05:40:36 +0000 >Subject: [PATCH] Check correctly before including SSE4.2 header. > >Previously, this failed machines that only had SSE4.1 but not >SSE4.2 due to an assumption that nmmintrin.h could be included >when only using SSE4.1. > >Fixes http://bugreports.qt.nokia.com/browse/QTBUG-13623. >--- > src/corelib/tools/qsimd_p.h | 8 ++++++-- > 1 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/src/corelib/tools/qsimd_p.h b/src/corelib/tools/qsimd_p.h >index 664543b..08da700 100644 >--- a/src/corelib/tools/qsimd_p.h >+++ b/src/corelib/tools/qsimd_p.h >@@ -87,9 +87,13 @@ QT_BEGIN_HEADER > #include <tmmintrin.h> > #endif > >-// SSE4.1 and SSE4.2 intrinsics >-#if (defined(QT_HAVE_SSE4_1) || defined(QT_HAVE_SSE4_2)) && (defined(__SSE4_1__) || defined(Q_CC_MSVC)) >+// SSE4.1 intrinsics >+#if defined(QT_HAVE_SSE4_1) && (defined(__SSE4_1__) || defined(Q_CC_MSVC)) > #include <smmintrin.h> >+#endif >+ >+// SSE4.2 intrinsics >+#if defined(QT_HAVE_SSE4_2) && (defined(__SSE4_2__) || defined(Q_CC_MSVC)) > #include <nmmintrin.h> > #endif > >-- >1.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 344915
:
253881
|
253893
| 254767