From 8afe0911e0e43740f64c78b4a6e336480358d01f Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 31 Dec 2020 21:38:27 -0300 Subject: [PATCH] -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. --- gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall1.c | 2 +- gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_libcall2.c | 2 +- 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 4fd422c6afe..222007f7ee2 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 3fd1329d384..42047a33fdf 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) -- 2.30.2