test failures on ppc64le/clang with vmx enabled
using clang 13 on ppc64le (with musl), some tests fail with vmx on:
=> pixman-0.40.0-r0: running do_check...
[0/1] Running all tests.
1/33 oob-test OK 0.24s
2/33 infinite-loop OK 0.23s
3/33 trap-crasher OK 0.23s
4/33 fence-image-self-test OK 0.22s
5/33 region-translate-test OK 0.22s
6/33 fetch-test OK 0.22s
7/33 a1-trap-test OK 0.21s
8/33 prng-test OK 0.21s
9/33 radial-invalid OK 0.21s
10/33 pdf-op-test OK 0.20s
11/33 region-test OK 0.20s
12/33 combiner-test OK 0.20s
13/33 scaling-crash-test OK 0.19s
14/33 alpha-loop OK 0.19s
15/33 scaling-helpers-test OK 0.26s
16/33 thread-test OK 0.24s
17/33 gradient-crash-test OK 0.49s
18/33 rotate-test FAIL 0.67s exit status 1
>>> MALLOC_PERTURB_=131 /builddir/pixman-0.40.0/build/test/rotate-test
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
rotate test failed! (checksum=73E2104B, expected 81E9EC2F)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
19/33 matrix-test OK 0.80s
20/33 pixel-test OK 1.45s
21/33 alphamap OK 3.44s
22/33 composite-traps-test OK 3.92s
23/33 filter-reduction-test OK 5.83s
24/33 glyph-test OK 9.98s
25/33 solid-test OK 10.74s
26/33 stress-test OK 15.74s
27/33 blitters-test OK 18.58s
28/33 region-contains-test OK 19.26s
29/33 cover-test FAIL 25.18s exit status 1
>>> MALLOC_PERTURB_=199 /builddir/pixman-0.40.0/build/test/cover-test
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
cover test failed! (checksum=E7C023A5, expected 6B56F607)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
30/33 affine-test FAIL 32.15s exit status 1
>>> MALLOC_PERTURB_=155 /builddir/pixman-0.40.0/build/test/affine-test
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
affine test failed! (checksum=BAC6331C, expected BE724CFE)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
31/33 scaling-test FAIL 39.98s exit status 1
>>> MALLOC_PERTURB_=215 /builddir/pixman-0.40.0/build/test/scaling-test
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
scaling test failed! (checksum=A30FEEBB, expected 92E0F068)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
32/33 composite OK 76.14s
33/33 tolerance-test OK 80.27s
Summary of Failures:
18/33 rotate-test FAIL 0.67s exit status 1
29/33 cover-test FAIL 25.18s exit status 1
30/33 affine-test FAIL 32.15s exit status 1
31/33 scaling-test FAIL 39.98s exit status 1
Ok: 29
Expected Fail: 0
Fail: 4
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /builddir/pixman-0.40.0/build/meson-logs/testlog.txt
FAILED: meson-test
in practice, this manifests as various things (e.g. weston) rendering junk (though they do not outright crash)
with gcc they pass ok (and things render correctly), and when i turn off the vmx code, they also pass ok with clang
comparisons attached with vmx on and off: