From: Richard Biener Date: Mon, 3 Jun 2024 12:43:42 +0000 (+0200) Subject: testsuite/115304 - properly guard gcc.dg/vect/slp-gap-1.c X-Git-Tag: basepoints/gcc-16~8562 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed8ba88074f3663f810ef2f07d79c3fcde5d9697;p=thirdparty%2Fgcc.git testsuite/115304 - properly guard gcc.dg/vect/slp-gap-1.c Testing on sparc shows we need vect_unpack and vect_perm. This isn't enough to resolve the GCN fail which ends up using interleaving. PR testsuite/115304 * gcc.dg/vect/slp-gap-1.c: Require vect_unpack and vect_perm. --- diff --git a/gcc/testsuite/gcc.dg/vect/slp-gap-1.c b/gcc/testsuite/gcc.dg/vect/slp-gap-1.c index 36463ca22c5..9856da7a7f4 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-gap-1.c +++ b/gcc/testsuite/gcc.dg/vect/slp-gap-1.c @@ -15,4 +15,4 @@ void pixel_sub_wxh(int16_t * __restrict diff, uint8_t *pix1, uint8_t *pix2) { /* We can vectorize this without peeling for gaps and thus without epilogue, but the only thing we can reliably scan is the zero-padding trick for the partial loads. */ -/* { dg-final { scan-tree-dump-times "\{_\[0-9\]\+, 0" 6 "vect" { target vect64 } } } */ +/* { dg-final { scan-tree-dump-times "\{_\[0-9\]\+, 0" 6 "vect" { target { vect64 && { vect_unpack && vect_perm } } } } } */