diff options
author | Richard Biener <rguenther@suse.de> | 2024-10-02 13:39:14 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-10-02 13:45:54 +0200 |
commit | 32b99dad9a59ce8d67350221f3cfb1986ee67a8f (patch) | |
tree | 8a918f8ea3f97339c64c9ff53c40ede373b9a4f5 | |
parent | 71896a8bdc3841f0e08b4c6356f54c4735317f37 (diff) | |
download | gcc-32b99dad9a59ce8d67350221f3cfb1986ee67a8f.zip gcc-32b99dad9a59ce8d67350221f3cfb1986ee67a8f.tar.gz gcc-32b99dad9a59ce8d67350221f3cfb1986ee67a8f.tar.bz2 |
Adjust expectation for gcc.dg/vect/slp-19c.c
We can now vectorize the first loop with SLP when using V2SImode
vectors since then we can handle the non-power-of-two interleaving.
We can also SLP the second loop reliably now after adding induction
support for VLA vectors.
* gcc.dg/vect/slp-19c.c: Adjust expectation.
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/slp-19c.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/slp-19c.c b/gcc/testsuite/gcc.dg/vect/slp-19c.c index 188ab37..588c171 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-19c.c +++ b/gcc/testsuite/gcc.dg/vect/slp-19c.c @@ -105,5 +105,9 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" } } */ +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! vect64 } } } } */ +/* The unsupported interleaving works fine with V2SImode vectors given we + can always combine that from two vectors. */ +/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { target vect64 } } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { ! vect64 } } } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 4 "vect" { target vect64 } } } */ |