[gcc r12-7248] aarch64: Fix store_v2vec_lanes.c failure
Richard Sandiford
rsandifo@gcc.gnu.org
Tue Feb 15 18:10:16 GMT 2022
https://gcc.gnu.org/g:65df3aefaa6c0735bd46ffdc7b5018a8b4020ab8
commit r12-7248-g65df3aefaa6c0735bd46ffdc7b5018a8b4020ab8
Author: Richard Sandiford <richard.sandiford@arm.com>
Date: Tue Feb 15 18:09:34 2022 +0000
aarch64: Fix store_v2vec_lanes.c failure
store_v2vec_lanes.c started failing after SLP was enabled at -O2.
The test is specifically checking what happens for unvectorised code,
with the vectors being constructed from individal addition results.
gcc/testsuite/
* gcc.target/aarch64/store_v2vec_lanes.c: Add -fno-tree-vectorize.
Diff:
---
gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c b/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c
index 3296d04da14..7ea8a674f4c 100644
--- a/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c
+++ b/gcc/testsuite/gcc.target/aarch64/store_v2vec_lanes.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-tree-vectorize" } */
typedef long long v2di __attribute__ ((vector_size (16)));
typedef double v2df __attribute__ ((vector_size (16)));
More information about the Gcc-cvs
mailing list