summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_neon_p.h
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-24 02:20:19 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-25 09:07:12 (GMT)
commitd28f3ffadec209511d8d992e3b35fae155b3d1c5 (patch)
treeae6de5aa97c85c05136dff9547bc7089bbe8c7bb /src/gui/painting/qdrawhelper_neon_p.h
parent9f5457110f86fc11995efd93729c563e0713bebc (diff)
downloadQt-d28f3ffadec209511d8d992e3b35fae155b3d1c5.zip
Qt-d28f3ffadec209511d8d992e3b35fae155b3d1c5.tar.gz
Qt-d28f3ffadec209511d8d992e3b35fae155b3d1c5.tar.bz2
Implement qt_memfill32 with Neon.
This patch introduce a implementation of qt_memfill32 with the Neon instructions set from ARMv7. The loop is unrolled 1 time to get better performance. This implementation of memfill is 330% faster on the N900. Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qdrawhelper_neon_p.h')
-rw-r--r--src/gui/painting/qdrawhelper_neon_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_neon_p.h b/src/gui/painting/qdrawhelper_neon_p.h
index 182c936..451edbc 100644
--- a/src/gui/painting/qdrawhelper_neon_p.h
+++ b/src/gui/painting/qdrawhelper_neon_p.h
@@ -120,6 +120,7 @@ void qt_transform_image_rgb16_on_rgb16_neon(uchar *destPixels, int dbpl,
const QTransform &targetRectTransform,
int const_alpha);
+void qt_memfill32_neon(quint32 *dest, quint32 value, int count);
void qt_memrotate90_16_neon(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl);
void qt_memrotate270_16_neon(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl);