summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_sse2.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-09-13 15:56:00 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-09-13 15:56:00 (GMT)
commit0b3183427395be7dae29ba91254b00b0845b72af (patch)
tree3e7c8048879e9666785f6c9850eea237a72ed86e /src/gui/painting/qdrawhelper_sse2.cpp
parentf915620ef48e6b977ea2176de50e5598f0b6b875 (diff)
parentfaba2072ae1cf3661caceae2ef4f87cee485cf29 (diff)
downloadQt-0b3183427395be7dae29ba91254b00b0845b72af.zip
Qt-0b3183427395be7dae29ba91254b00b0845b72af.tar.gz
Qt-0b3183427395be7dae29ba91254b00b0845b72af.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Use the stream operation for the SSE2 implementation of memfill32 Remove the memory safety for the first scanline of the SSSE3 blending tests: fix compilation with suncc Assertion calledEmitUpdated fails in QGraphicsScene. Linux: Fix mispositioned, misclipped glyphs in large fonts (QStaticText)
Diffstat (limited to 'src/gui/painting/qdrawhelper_sse2.cpp')
-rw-r--r--src/gui/painting/qdrawhelper_sse2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qdrawhelper_sse2.cpp b/src/gui/painting/qdrawhelper_sse2.cpp
index ba2ba32..ac73958 100644
--- a/src/gui/painting/qdrawhelper_sse2.cpp
+++ b/src/gui/painting/qdrawhelper_sse2.cpp
@@ -266,10 +266,10 @@ void qt_memfill32_sse2(quint32 *dest, quint32 value, int count)
int n = (count128 + 3) / 4;
switch (count128 & 0x3) {
- case 0: do { _mm_store_si128(dst128++, value128);
- case 3: _mm_store_si128(dst128++, value128);
- case 2: _mm_store_si128(dst128++, value128);
- case 1: _mm_store_si128(dst128++, value128);
+ case 0: do { _mm_stream_si128(dst128++, value128);
+ case 3: _mm_stream_si128(dst128++, value128);
+ case 2: _mm_stream_si128(dst128++, value128);
+ case 1: _mm_stream_si128(dst128++, value128);
} while (--n > 0);
}