[Pixman] [PATCH v2] ARM: use pixman_asm_function in internal headers

2014-04-09 Thread Pekka Paalanen
From: Pekka Paalanen The two ARM headers contained open-coded copies of pixman_asm_function, replace these. Since it seems customary that ARM headers do not use CPP include guards, rely on the .S files to #include "pixman-arm-asm.h" first. They all do now. v2: Fix a build failure on rpi by addi

[Pixman] [PATCH] create_bits(): Cast the result of height * stride to size_t

2014-04-09 Thread Søren Sandmann
In create_bits() both height and stride are ints, so the result is also an int, which will overflow if height or stride are big enough and size_t is bigger than int. This patch simply casts height to size_t to prevent these overflows, which prevents the crash in: https://bugzilla.redhat.com/s

[Pixman] [PATCH v5 3/4] ARMv6: Add fast path flag to force no preload of destination buffer

2014-04-09 Thread Pekka Paalanen
From: Ben Avison --- pixman/pixman-arm-simd-asm.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pixman/pixman-arm-simd-asm.h b/pixman/pixman-arm-simd-asm.h index 1bb8b45..0baf87a 100644 --- a/pixman/pixman-arm-simd-asm.h +++ b/pixman/pixman-arm-simd-asm.h @@

[Pixman] [PATCH v5 4/4] ARMv6: Add fast path for in_reverse_8888_8888

2014-04-09 Thread Pekka Paalanen
From: Ben Avison Benchmark results, "before" is the patch * upstream/master 4b76bbfda670f9ede67d0449f3640605e1fc4df0 + ARMv6: Support for very variable-hungry composite operations + ARMv6: Add fast path for over_n___ca and "after" contains the additional patches on top: + ARMv6: Add fast

[Pixman] [PATCH v5 0/4] Two ARMv6 optimizations

2014-04-09 Thread Pekka Paalanen
From: Pekka Paalanen Hi, this is a re-send of the two series that ended with "ARMv6: Add fast path for over_n___ca" and "ARMv6: Add fast path for in_reverse__", i.e. http://lists.freedesktop.org/archives/pixman/2014-March/003219.html http://lists.freedesktop.org/archives/pixman/2

[Pixman] [PATCH v5 2/4] ARMv6: Add fast path for over_n_8888_8888_ca

2014-04-09 Thread Pekka Paalanen
From: Ben Avison Benchmark results, "before" is * upstream/master 4b76bbfda670f9ede67d0449f3640605e1fc4df0 "after" contains the additional patches on top: + ARMv6: Support for very variable-hungry composite operations + ARMv6: Add fast path for over_n___ca (this patch) lowlevel-blt-bench

[Pixman] [PATCH v5 1/4] ARMv6: Support for very variable-hungry composite operations

2014-04-09 Thread Pekka Paalanen
From: Ben Avison Previously, the variable ARGS_STACK_OFFSET was available to extract values from function arguments during the init macro. Now this changes dynamically around stack operations in the function as a whole so that arguments can be accessed at any point. It is also joined by LOCALS_ST