summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_neon_p.h
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-24 04:20:19 +0200
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-25 11:07:12 +0200
commitd28f3ffadec209511d8d992e3b35fae155b3d1c5 (patch)
treeae6de5aa97c85c05136dff9547bc7089bbe8c7bb /src/gui/painting/qdrawhelper_neon_p.h
parent9f5457110f86fc11995efd93729c563e0713bebc (diff)
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 182c936627..451edbc36b 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);