From: Alexandre Oliva Date: Fri, 1 Jan 2021 00:38:27 +0000 (-0300) Subject: -mno-long-calls for mve_libcall tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8afe0911e0e43740f64c78b4a6e336480358d01f;p=gcc.git -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. --- 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)