Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:HighwayStar:sandbox:mingw32
mingw32-libqt4
qt-4.7.1-xchg.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt-4.7.1-xchg.patch of Package mingw32-libqt4
--- src/corelib/tools/qsimd.cpp 2010-11-06 02:55:19.000000000 +0100 +++ src/corelib/tools/qsimd.cpp 2010-11-11 15:41:20.000000000 +0100 @@ -47,7 +47,7 @@ #include <windows.h> #endif -#if defined(Q_OS_WIN64) && !defined(Q_CC_GNU) +#if defined(Q_OS_WIN64) #include <intrin.h> #endif @@ -285,7 +285,13 @@ uint features = MMX|SSE|SSE2|CMOV; uint feature_result = 0; -#if defined(Q_CC_GNU) +#if defined (Q_OS_WIN64) + { + int info[4]; + __cpuid(info, 1); + feature_result = info[2]; + } +#elif defined(Q_CC_GNU) long tmp; asm ("xchg %%rbx, %1\n" "cpuid\n" @@ -294,12 +300,6 @@ : "a" (1) : "%edx" ); -#elif defined (Q_OS_WIN64) - { - int info[4]; - __cpuid(info, 1); - feature_result = info[2]; - } #endif if (feature_result & (1u))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor