diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-02-14 13:57:35 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-06 12:21:14 +0100 |
commit | cd652500af18671e0d64b30d51c79a0c45b973a3 (patch) | |
tree | 42be73d316d9bfa81569e73993e31cacf978be33 /src/gui/gui.pro | |
parent | 2df1a6c4c9c7bed8dceb23a6b53014fb42014ded (diff) |
Add optimize_full qmake config option
This patch adds a new config option to qmake to enable full optimization
where it makes sense. This currently is supported on all gcc like
compilers by exchanging -O2 for -O3.
In qtbase it is used to enable full optimizations on qtcore and qtgui
and in a later patch can be used to replace similar existing logic in
QtWebKit's WTF and JavaScriptCore modules.
This fixes a performance regression from gcc 4.7 to 4.8 in the software
renderer.
An aliasing error in qregion.cpp which was exposed by more aggresive
optimization has been solved as well.
Change-Id: Ic2c6c41b79cb3846212b40e7bcc11ff492beb27f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/gui/gui.pro')
-rw-r--r-- | src/gui/gui.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 8d37af6321..f083245809 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -30,7 +30,7 @@ testcocoon { mac:!ios: LIBS_PRIVATE += -framework Cocoa -CONFIG += simd +CONFIG += simd optimize_full include(accessible/accessible.pri) include(kernel/kernel.pri) |