Hi All, The testcase for this tests needs Neoverse V2 to be used since due to costing the other cost models don't pick this particular SVE mode.
Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. committed as obvious. Thanks, Tamar gcc/testsuite/ChangeLog: PR tree-optimization/11662 * gcc.dg/vect/pr116628.c: Update cmdline. --- diff --git a/gcc/testsuite/gcc.dg/vect/pr116628.c b/gcc/testsuite/gcc.dg/vect/pr116628.c index 4068c657ac5570b10f2dca4be5109abbaf574f55..a38ffb33365a1895b3d3e2896e23c0c06a58331a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr116628.c +++ b/gcc/testsuite/gcc.dg/vect/pr116628.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target vect_float } */ /* { dg-require-effective-target vect_masked_store } */ -/* { dg-additional-options "-Ofast -march=armv9-a" { target aarch64-*-* } } */ +/* { dg-additional-options "-Ofast -mcpu=neoverse-v2" { target aarch64-*-* } } */ typedef float c; c a[2000], b[0]; --
diff --git a/gcc/testsuite/gcc.dg/vect/pr116628.c b/gcc/testsuite/gcc.dg/vect/pr116628.c index 4068c657ac5570b10f2dca4be5109abbaf574f55..a38ffb33365a1895b3d3e2896e23c0c06a58331a 100644 --- a/gcc/testsuite/gcc.dg/vect/pr116628.c +++ b/gcc/testsuite/gcc.dg/vect/pr116628.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target vect_float } */ /* { dg-require-effective-target vect_masked_store } */ -/* { dg-additional-options "-Ofast -march=armv9-a" { target aarch64-*-* } } */ +/* { dg-additional-options "-Ofast -mcpu=neoverse-v2" { target aarch64-*-* } } */ typedef float c; c a[2000], b[0];