[Pixman] [PATCH 4/4] armv6: enable over_n_8888
Pekka Paalanen
ppaalanen at gmail.com
Thu Aug 20 06:58:48 PDT 2015
From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Enable the fast path added in the previous patch by moving the lookup
table entries to their proper locations.
Lowlevel-blt-bench benchmark statistics with 30 iterations, showing the
effect of adding this one patch on top of
"pixman-fast-path: Add over_n_8888 fast path (disabled)",
"pixman-fast-path: enable over_n_8888" and
"armv6: Add over_n_8888 fast path (disabled)".
Before After
Mean StdDev Mean StdDev Confidence Change
L1 21.2 0.05 45.4 0.15 100.00% +113.8%
L2 17.4 0.01 43.2 0.03 100.00% +148.0%
M 13.6 0.00 42.4 0.02 100.00% +211.4%
HT 12.2 0.04 25.4 0.13 100.00% +109.1%
VT 11.8 0.03 22.3 0.09 100.00% +88.5%
R 11.5 0.03 23.2 0.10 100.00% +102.2%
RT 7.6 0.11 11.5 0.19 100.00% +51.2%
Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
pixman/pixman-arm-simd.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/pixman/pixman-arm-simd.c b/pixman/pixman-arm-simd.c
index 62c0f41..f0d1454 100644
--- a/pixman/pixman-arm-simd.c
+++ b/pixman/pixman-arm-simd.c
@@ -242,6 +242,10 @@ static const pixman_fast_path_t arm_simd_fast_paths[] =
PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, solid, a8b8g8r8, armv6_composite_over_8888_n_8888),
PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, solid, x8b8g8r8, armv6_composite_over_8888_n_8888),
+ PIXMAN_STD_FAST_PATH (OVER, solid, null, a8r8g8b8, armv6_composite_over_n_8888),
+ PIXMAN_STD_FAST_PATH (OVER, solid, null, x8r8g8b8, armv6_composite_over_n_8888),
+ PIXMAN_STD_FAST_PATH (OVER, solid, null, a8b8g8r8, armv6_composite_over_n_8888),
+ PIXMAN_STD_FAST_PATH (OVER, solid, null, x8b8g8r8, armv6_composite_over_n_8888),
PIXMAN_STD_FAST_PATH (OVER_REVERSE, solid, null, a8r8g8b8, armv6_composite_over_reverse_n_8888),
PIXMAN_STD_FAST_PATH (OVER_REVERSE, solid, null, a8b8g8r8, armv6_composite_over_reverse_n_8888),
@@ -273,11 +277,6 @@ static const pixman_fast_path_t arm_simd_fast_paths[] =
SIMPLE_NEAREST_FAST_PATH (SRC, x8b8g8r8, x8b8g8r8, armv6_8888_8888),
{ PIXMAN_OP_NONE },
-
- PIXMAN_STD_FAST_PATH (OVER, solid, null, a8r8g8b8, armv6_composite_over_n_8888),
- PIXMAN_STD_FAST_PATH (OVER, solid, null, x8r8g8b8, armv6_composite_over_n_8888),
- PIXMAN_STD_FAST_PATH (OVER, solid, null, a8b8g8r8, armv6_composite_over_n_8888),
- PIXMAN_STD_FAST_PATH (OVER, solid, null, x8b8g8r8, armv6_composite_over_n_8888),
};
pixman_implementation_t *
--
2.4.6
More information about the Pixman
mailing list