diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2010-01-28 10:28:53 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2010-01-28 10:28:53 (GMT) |
commit | d43178ccaa38b87698e2f5a9fa0f2fb4e5f9f0ad (patch) | |
tree | 14bb85d89ea201923bc38de497ae86300caf0445 /mkspecs/common/symbian | |
parent | 280f1f7bfc1a07f0ab9afb2866f91f9355935508 (diff) | |
download | Qt-d43178ccaa38b87698e2f5a9fa0f2fb4e5f9f0ad.zip Qt-d43178ccaa38b87698e2f5a9fa0f2fb4e5f9f0ad.tar.gz Qt-d43178ccaa38b87698e2f5a9fa0f2fb4e5f9f0ad.tar.bz2 |
Using RunFast mode for RVCT
Now when we detect, by looking into ARMFPU, that either vfpv2 or
softvfp+vfpv2 option is used, we will force using "-fpmode = fast"
switch as well.
This should give not just some performance improvement, but improve
execution stability when vfpv2 used.
Task-number: QTBUG-4893
Reviewed-by: Jason Barron
Diffstat (limited to 'mkspecs/common/symbian')
-rw-r--r-- | mkspecs/common/symbian/symbian.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/symbian.conf b/mkspecs/common/symbian/symbian.conf index a2933e9..b5d12fb 100644 --- a/mkspecs/common/symbian/symbian.conf +++ b/mkspecs/common/symbian/symbian.conf @@ -147,3 +147,19 @@ exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/Series60v5.0.sis MMP_RULES -= PAGED } } + +QMAKE_CXXFLAGS_FAST_VFP.ARMCC = --fpmode fast +# [TODO] QMAKE_CXXFLAGS_FAST_VFP.GCCE = + +symbian { + armfpu = $$find(MMP_RULES, "ARMFPU") + !isEmpty(armfpu) { + vfpv2 = $$find(MMP_RULES, "vfpv2") + !isEmpty(vfpv2) { + # we will respect fpu setting obtained from configure, but, + # if vfpv2 or softvfp+vfpv2 used we want to force RunFast VFP mode + QMAKE_CXXFLAGS.ARMCC += $${QMAKE_CXXFLAGS_FAST_VFP.ARMCC} + # [TODO] QMAKE_CXXFLAGS.GCCE += $${QMAKE_CXXFLAGS_FAST_VFP.GCCE} + } + } +} |