[Pixman] [PATCH v2 1/2] armv6: Add over_n_8888 fast path (disabled)

Pekka Paalanen ppaalanen at gmail.com
Fri Sep 18 03:48:48 PDT 2015

On Thu, 17 Sep 2015 17:20:22 +0300
Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote:

> On Mon,  7 Sep 2015 14:40:48 +0300
> Pekka Paalanen <ppaalanen at gmail.com> wrote:
> > From: Ben Avison <bavison at riscosopen.org>
> > 
> > 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.
> Don't we already have the PIXMAN_DISABLE environment variable exactly
> for this purpose (testing different implementations without recompiling
> the library)?

Now that PIXMAN_DISABLE=wholeops has landed, yeah, I think so. A good

The old disable options would have disabled both fast paths and

However, we still cannot disable fast paths one by one, which means
benchmarking for unexpected changes is not possible without this patch
arrangement. PIXMAN_DISABLE=wholeops also doesn't help with Cairo
benchmarks, so it's use it pretty limited.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20150918/0f54b1a3/attachment.sig>

More information about the Pixman mailing list