summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago@kde.org>2011-07-08 15:41:50 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-11 11:16:12 +0200
commit8cc3b1a42683c72b6c192ecfda28245dc561eeee (patch)
tree3f28972835231f7a22a7eac641864628381ce033 /src
parentcd80fcb5d6db9d99684b94a90d2c798b712442c4 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 6c89e9b670..15145ced07 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -1131,10 +1131,6 @@ redefine to built-in booleans to make autotests work properly */
typedef int QNoImplicitBoolCast;
-#if defined(QT_ARCH_ARM) || defined(QT_ARCH_ARMV6) || defined(QT_ARCH_AVR32) || (defined(QT_ARCH_MIPS) && (defined(Q_WS_QWS) || defined(Q_WS_QPA) || defined(Q_OS_WINCE))) || defined(QT_ARCH_SH) || defined(QT_ARCH_SH4A)
-#define QT_NO_FPU
-#endif
-
// This logic must match the one in qmetatype.h
#if defined(QT_COORD_TYPE)
typedef QT_COORD_TYPE qreal;