Comment 21 for bug 664431

Revision history for this message
Thiago Macieira (thiago-macieira) wrote : Re: [Bug 664431] Re: QT on armel is built with NEON by default

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