From: Richard Biener Date: Thu, 11 Mar 2021 13:11:08 +0000 (+0100) Subject: testsuite/97494 - XFAIL gcc.dg/vect/pr97428.c on !vect_hw_misalign X-Git-Tag: basepoints/gcc-12~635 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa0d8a3e28cd3365a2910884ce3e7cb67b07f866;p=thirdparty%2Fgcc.git testsuite/97494 - XFAIL gcc.dg/vect/pr97428.c on !vect_hw_misalign While we could at least vectorize it on targets which support re-alignment tokens we fail to do this because of imperfections in alignment analysis. XFAIL when the HW cannot deal with misaligned vector accesses for now. 2021-03-11 Richard Biener PR testsuite/97494 * gcc.dg/vect/pr97428.c: XFAIL on !vect_hw_misalign. --- diff --git a/gcc/testsuite/gcc.dg/vect/pr97428.c b/gcc/testsuite/gcc.dg/vect/pr97428.c index 49d537382564..bbd743a76c40 100644 --- a/gcc/testsuite/gcc.dg/vect/pr97428.c +++ b/gcc/testsuite/gcc.dg/vect/pr97428.c @@ -40,5 +40,7 @@ void foo_i2(dcmlx4_t dst[], const dcmlx_t src[], int n) load and store groups. */ /* { dg-final { scan-tree-dump "Detected interleaving load of size 8" "vect" } } */ /* { dg-final { scan-tree-dump "Detected interleaving store of size 16" "vect" } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" } } */ +/* We're not able to peel & apply re-aligning to make accesses well-aligned for !vect_hw_misalign, + but we could by peeling the stores for alignment and applying re-aligning loads. */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { xfail { ! vect_hw_misalign } } } } */ /* { dg-final { scan-tree-dump-not "gap of 6 elements" "vect" } } */