summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/painting.pri
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2011-12-29 18:09:46 -0200
committerQt by Nokia <qt-info@nokia.com>2012-03-28 14:54:12 +0200
commitd43fe0b672a665fc366f7d4a91a522959801165d (patch)
tree07ef87adf783aea20725597f8732c2bc0b037f65 /src/gui/painting/painting.pri
parentd2b1c2ef1f1fea3200d8dee5c58fe79649fd13bb (diff)
Remove the old code using MMX registers.
There are only 8 MMX registers, each 64-bit wide, and they alias the x87 registers. The access to the MMX register cannot use the new VEX-prefix instructions either. All of the functions being replaced are either present in the qdrawhelper_sse2.cpp and qdrawhelper_ssse3.cpp files, or the plain C++ function in qdrawhelper.cpp is vectorised when compiled with -ftree-vectorize (enabled in -O3), if SSE2 support is enabled. All x86-64 processors have SSE2, so this is a net improvement for 64-bit builds. For 32-bit builds, without further support this will cause the code to use non-vector or x87 instructions, which aren't the best. The solution will come in another commit. Change-Id: I4a22d8a2516b79172867510202d0fd627db54807 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting/painting.pri')
-rw-r--r--src/gui/painting/painting.pri6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/painting/painting.pri b/src/gui/painting/painting.pri
index 3ce2e5b258..0792343ce1 100644
--- a/src/gui/painting/painting.pri
+++ b/src/gui/painting/painting.pri
@@ -93,13 +93,7 @@ SOURCES += \
if(mmx|3dnow|sse|sse2|iwmmxt) {
HEADERS += painting/qdrawhelper_x86_p.h \
- painting/qdrawhelper_mmx_p.h \
- painting/qdrawhelper_sse_p.h \
painting/qdrawingprimitive_sse2_p.h
- MMX_SOURCES += painting/qdrawhelper_mmx.cpp
- MMX3DNOW_SOURCES += painting/qdrawhelper_mmx3dnow.cpp
- SSE3DNOW_SOURCES += painting/qdrawhelper_sse3dnow.cpp
- SSE_SOURCES += painting/qdrawhelper_sse.cpp
SSE2_SOURCES += painting/qdrawhelper_sse2.cpp
SSSE3_SOURCES += painting/qdrawhelper_ssse3.cpp
IWMMXT_SOURCES += painting/qdrawhelper_iwmmxt.cpp