aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2020-12-31 21:38:27 -0300
committerAlexandre Oliva <oliva@gnu.org>2021-01-01 01:46:34 -0300
commit8afe0911e0e43740f64c78b4a6e336480358d01f (patch)
treebdd0af23b65f30e24982bb81b1f4f4ad8269cd87 /gcc
parenta9ff287b11a1c66c960fb3bd561b393c573bbbc2 (diff)
downloadgcc-8afe0911e0e43740f64c78b4a6e336480358d01f.zip
gcc-8afe0911e0e43740f64c78b4a6e336480358d01f.tar.gz
gcc-8afe0911e0e43740f64c78b4a6e336480358d01f.tar.bz2
-mno-long-calls for mve_libcall tests
The implicit -mlong-calls used in our vxworks configurations changes the call sequences from those expected in the mve_libcall testcases. This patch brings the test output in line with the expectations, with an explicit -mno-long-calls. for gcc/testsuite/ChangeLog * gcc.target/arm/mve/intrinsics/mve_libcall1.c: Pass an explicit -mno-long-calls. * gcc.target/arm/mve/intrinsics/mve_libcall2.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall1.c2
-rw-r--r--gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall1.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall1.c
index 4fd422c..222007f 100644
--- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall1.c
+++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall1.c
@@ -1,6 +1,6 @@
/* { dg-require-effective-target arm_v8_1m_mve_ok } */
/* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=soft" } {""} } */
-/* { dg-additional-options "-march=armv8.1-m.main+mve -mfloat-abi=hard -mthumb -mfpu=auto --save-temps" } */
+/* { dg-additional-options "-march=armv8.1-m.main+mve -mfloat-abi=hard -mthumb -mfpu=auto -mno-long-calls --save-temps" } */
float
foo (float a, float b, float c)
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall2.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall2.c
index 3fd1329..42047a3 100644
--- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall2.c
+++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall2.c
@@ -1,6 +1,6 @@
/* { dg-require-effective-target arm_v8_1m_mve_ok } */
/* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=soft" } {""} } */
-/* { dg-additional-options "-march=armv8.1-m.main+mve -mfloat-abi=hard -mthumb -mfpu=auto --save-temps" } */
+/* { dg-additional-options "-march=armv8.1-m.main+mve -mfloat-abi=hard -mthumb -mfpu=auto -mno-long-calls --save-temps" } */
double
foo (double a, double b, double c)