]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm,testsuite: Add -mtune=cortex-m55 to dlstp-int8x16.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 6 Dec 2024 15:59:25 +0000 (15:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Fri, 6 Dec 2024 17:29:13 +0000 (17:29 +0000)
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

index d5f22b5026259419df11789e0eaab1692179a8ad..8ec0a57a783d9bb69a7621e4729a95c20aa2b9e8 100644 (file)
@@ -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>