[Bug 664431] Re: QT on armel is built with NEON by default

Thiago Macieira 664431 at bugs.launchpad.net
Thu Oct 28 15:38:56 UTC 2010


On Thursday, 28 de October de 2010 07:55:34 you wrote:
> I currently can't get the git code (download at 8k/s), so I checked
> the 4.7.0 release tarball and this commit doesn't seems to be
> included:
> """
> $ vim qt-everywhere-opensource-src-4.7.0/src/corelib/tools/qsimd.cpp
> ---
> #elif defined(QT_HAVE_IWMMXT)
>     // runtime detection only available when running as a previlegied
> process static const bool doIWMMXT = !qgetenv("QT_NO_IWMMXT").toInt();
> features = doIWMMXT ? IWMMXT : 0;
>     return features;
> #elif defined(QT_HAVE_NEON)
>     static const bool doNEON = !qgetenv("QT_NO_NEON").toInt();
>     features = doNEON ? NEON : 0;
>     return features;
> """
> 
> Will backport it and create a proper package to be tested, once I can
> download the sources.

Oh, that might explain it all. The fix wasn't cherry-picked into the 4.7.0 
release.

Just take the two qsimd files and it should be your patch:

	http://qt.gitorious.org/qt/qt/blobs/4.7/src/corelib/tools/qsimd.cpp
	http://qt.gitorious.org/qt/qt/blobs/4.7/src/corelib/tools/qsimd_p.h

Patch attached on top of 4.7.0.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Development Frameworks
     Sandakerveien 116, NO-0402 Oslo, Norway


** Patch added: "qsimd-cpu-detect.diff"
   https://bugs.launchpad.net/bugs/664431/+attachment/1714441/+files/qsimd-cpu-detect.diff

-- 
QT on armel is built with NEON by default
https://bugs.launchpad.net/bugs/664431
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in ubuntu.




More information about the kubuntu-bugs mailing list