[Pixman] [PATCH v3] test: Add cover-test

Oded Gabbay oded.gabbay at gmail.com
Fri Sep 4 02:04:00 PDT 2015


On Thu, Sep 3, 2015 at 3:54 PM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 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

PAGESIZE on those systems is 64KB

       Oded


More information about the Pixman mailing list