Remove the definition of QT_NO_FPU based on the processor or WS
authorThiago Macieira <thiago@kde.org>
Fri, 8 Jul 2011 13:41:50 +0000 (15:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 11 Jul 2011 09:16:12 +0000 (11:16 +0200)
commit8cc3b1a42683c72b6c192ecfda28245dc561eeee
tree3f28972835231f7a22a7eac641864628381ce033
parentcd80fcb5d6db9d99684b94a90d2c798b712442c4
Remove the definition of QT_NO_FPU based on the processor or WS

The definition is just wrong these days. Modern ARMv7 and MIPS have
FPUs. Maybe AVR32, SH or SH4A don't, but then QT_NO_FPU should be
defined in the qplatformdefs.h for those platforms.

More importantly, since QPA is the only supported architecture for Qt
5, we definitely don't want to say that no platforms have no FPU.

Still let qreal be defined to float on ARM, though: on Cortex-A8,
which is the current norm these days, float performance is better than
double performance.

Change-Id: I89e01c10c59fbe95840a668ec9736846d23258fb
Merge-request: 16
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1383
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/corelib/global/qglobal.h