]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/115304 - properly guard gcc.dg/vect/slp-gap-1.c
authorRichard Biener <rguenther@suse.de>
Mon, 3 Jun 2024 12:43:42 +0000 (14:43 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 3 Jun 2024 12:46:18 +0000 (14:46 +0200)
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.

gcc/testsuite/gcc.dg/vect/slp-gap-1.c

index 36463ca22c580d9e3352f65173928847ee58ddaa..9856da7a7f48952f622e0d937a5ba2789ccc1c94 100644 (file)
@@ -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 } } } } } */