From a7d6b0b98b3f3d0d182570d9922e7d7b62798657 Mon Sep 17 00:00:00 2001 From: Sacha Date: Tue, 15 Oct 2013 04:03:08 +1000 Subject: [PATCH] Increase Qt optimisation level to O3. --- Qt/PPSSPP.pro | 2 +- Qt/Settings.pri | 6 +++++- Qt/mainwindow.ui | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Qt/PPSSPP.pro b/Qt/PPSSPP.pro index 8374f127ac..c99c674916 100755 --- a/Qt/PPSSPP.pro +++ b/Qt/PPSSPP.pro @@ -44,7 +44,7 @@ linux { # Main SOURCES += ../native/base/QtMain.cpp -#HEADERS += ../native/base/QtMain.h +HEADERS += ../native/base/QtMain.h # UI SOURCES += ../UI/*Screen.cpp \ diff --git a/Qt/Settings.pri b/Qt/Settings.pri index 66be925a06..5210dcc068 100644 --- a/Qt/Settings.pri +++ b/Qt/Settings.pri @@ -6,13 +6,17 @@ DEFINES -= UNICODE INCLUDEPATH += ../ext/zlib ../native/ext/glew ../Common win32-msvc* { - QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2 /fp:fast + QMAKE_CXXFLAGS_RELEASE += /O3 /arch:SSE2 /fp:fast DEFINES += _MBCS GLEW_STATIC NOMINMAX NODRAWTEXT _CRT_SECURE_NO_WARNINGS PRECOMPILED_HEADER = ../Windows/stdafx.h PRECOMPILED_SOURCE = ../Windows/stdafx.cpp } else { QMAKE_CXXFLAGS += -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter QMAKE_CXXFLAGS += -std=c++0x -ffast-math -fno-strict-aliasing + QMAKE_CFLAGS_RELEASE -= -O2 + QMAKE_CFLAGS_RELEASE += -O3 + QMAKE_CXXFLAGS_RELEASE -= -O2 + QMAKE_CXXFLAGS_RELEASE += -O3 } # Arch specific diff --git a/Qt/mainwindow.ui b/Qt/mainwindow.ui index 796cbf52be..ed4181164e 100644 --- a/Qt/mainwindow.ui +++ b/Qt/mainwindow.ui @@ -168,7 +168,6 @@ -