Message ID | 20241206160931.3369086-1-christophe.lyon@linaro.org |
---|---|
State | New |
Headers | show |
Series | arm,testsuite: Add -mtune=cortex-m55 to dlstp-int8x16.c | expand |
On 06/12/2024 16:09, Christophe Lyon wrote: > Like dlstp-compile-asm-1.c, this test would fail if GCC is configured > with non-default options, such as -mtune=cortex-a9. > > Force -mtune=cortex-m55 to avoid this unexpected issue. > > gcc/testsuite/ChangeLog: > > * gcc.target/arm/mve/dlstp-int8x16.c: Add -mtune=cortex-m55 > --- > gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c > index d5f22b50262..8ec0a57a783 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c > @@ -1,6 +1,6 @@ > /* { dg-do compile { target { arm*-*-* } } } */ > /* { dg-require-effective-target arm_v8_1m_mve_ok } */ > -/* { dg-options "-O2 -save-temps" } */ > +/* { dg-options "-O2 -save-temps -mtune=cortex-m55" } */ > /* { dg-add-options arm_v8_1m_mve } */ > > #include <arm_mve.h> OK. R.
On 06/12/2024 16:09, Christophe Lyon wrote: > Like dlstp-compile-asm-1.c, this test would fail if GCC is configured > with non-default options, such as -mtune=cortex-a9. > > Force -mtune=cortex-m55 to avoid this unexpected issue. > > gcc/testsuite/ChangeLog: > > * gcc.target/arm/mve/dlstp-int8x16.c: Add -mtune=cortex-m55 > --- > gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c > index d5f22b50262..8ec0a57a783 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c > @@ -1,6 +1,6 @@ > /* { dg-do compile { target { arm*-*-* } } } */ > /* { dg-require-effective-target arm_v8_1m_mve_ok } */ > -/* { dg-options "-O2 -save-temps" } */ > +/* { dg-options "-O2 -save-temps -mtune=cortex-m55" } */ > /* { dg-add-options arm_v8_1m_mve } */ > > #include <arm_mve.h> OK. R.
diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c index d5f22b50262..8ec0a57a783 100644 --- a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c +++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { arm*-*-* } } } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -save-temps -mtune=cortex-m55" } */ /* { dg-add-options arm_v8_1m_mve } */ #include <arm_mve.h>