summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-11-02 15:35:43 -0700
committerThiago Macieira <thiago.macieira@intel.com>2018-12-11 19:04:58 +0000
commita440aada72f2ee78c5e27d70ecc79c0071673446 (patch)
tree47f8d256356718bed6e44e6a0b15311254bb4432 /src/gui/painting/qdrawhelper.cpp
parent12e843581adf156d30dd09579b53fa36a361c4c9 (diff)
Add SSE2 qt_memfill64
Implemented by merging with the qt_memfill32 implementation in a non-inlining function. Change-Id: I343f2beed55440a7ac0bfffd15636f8ba995a2bd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawhelper.cpp')
-rw-r--r--src/gui/painting/qdrawhelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index 783d2e40b0..d97ace7480 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -6260,10 +6260,12 @@ DrawHelper qDrawHelper[QImage::NImageFormats] =
},
};
+#if !defined(__SSE2__)
void qt_memfill64(quint64 *dest, quint64 color, qsizetype count)
{
qt_memfill_template<quint64>(dest, color, count);
}
+#endif
void qt_memfill16(quint16 *dest, quint16 value, qsizetype count)
{