armv6: Add over_n_8888 fast path (disabled)
authorBen Avison <bavison@riscosopen.org>
Mon, 7 Sep 2015 11:40:48 +0000 (14:40 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 17 Sep 2015 11:40:39 +0000 (14:40 +0300)
commit9eb6889b15a180cc94aad8ac97189af5b3a68b96
tree939a8ae495caf50da3e4d60cf608e0aaec5ff3e3
parent4c71f595e3393be5b922df37d50d71dd83f4f979
armv6: Add over_n_8888 fast path (disabled)

This new fast path is initially disabled by putting the entries in the
lookup table after the sentinel. The compiler cannot tell the new code
is not used, so it cannot eliminate the code. Also the lookup table size
will include the new fast path. When the follow-up patch then enables
the new fast path, the binary layout (alignments, size, etc.) will stay
the same compared to the disabled case.

Keeping the binary layout identical is important for benchmarking on
Raspberry Pi 1. The addresses at which functions are loaded will have a
significant impact on benchmark results, causing unexpected performance
changes. Keeping all function addresses the same across the patch
enabling a new fast path improves the reliability of benchmarks.

Benchmark results are included in the patch enabling this fast path.

[Pekka: disabled the fast path, commit message]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
pixman/pixman-arm-simd-asm.S
pixman/pixman-arm-simd.c