[Pixman] [PATCH v3] test: Add cover-test
Pekka Paalanen
ppaalanen at gmail.com
Thu Sep 3 05:54:37 PDT 2015
On Wed, 2 Sep 2015 20:35:59 +0100
Ben Avison <bavison at riscosopen.org> wrote:
> This test aims to verify both numerical correctness and the honouring of
> array bounds for scaled plots (both nearest-neighbour and bilinear) at or
> close to the boundary conditions for applicability of "cover" type fast paths
> and iter fetch routines.
>
> It has a secondary purpose: by setting the env var EXACT (to any value) it
> will only test plots that are exactly on the boundary condition. This makes
> it possible to ensure that "cover" routines are being used to the maximum,
> although this requires the use of a debugger or code instrumentation to
> verify.
> ---
> test/Makefile.sources | 1 +
> test/cover-test.c | 426 +++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 427 insertions(+), 0 deletions(-)
> create mode 100644 test/cover-test.c
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
I ran cover-test on x86_64 with all combinations of:
- interpolation bits 7 and 4
- with and without EXACT
- PIXMAN_DISABLE unset and set to "ssse3", "ssse3 sse2" and "ssse3 sse2 mmx"
They all pass.
However, Oded say this fails CRC for him. Maybe he can comment more.
Oded, what page size do you have on those PPC64 platforms?
Thanks,
pq
-------------- 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/20150903/6e33d741/attachment-0001.sig>
More information about the Pixman
mailing list