From: Andrew Bennett Date: Mon, 6 Jul 2015 14:16:14 +0000 (+0000) Subject: MIPS: For micromips allow the near-far-3.c test to use the jals instruction to call... X-Git-Tag: basepoints/gcc-7~5857 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe55a82362706dc6453e7d9af16b3cbe8e0e9922;p=thirdparty%2Fgcc.git MIPS: For micromips allow the near-far-3.c test to use the jals instruction to call near_func. testsuite/ * gcc.target/mips/near-far-3.c: Allow the call to near_func to use the jals instruction. From-SVN: r225457 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a0324b50e5ab..32959d5f2cd6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-07-06 Andrew Bennett + + * gcc.target/mips/near-far-3.c: Allow the call to near_func to use + the jals instruction. + 2015-07-06 H.J. Lu PR target/53383 diff --git a/gcc/testsuite/gcc.target/mips/near-far-3.c b/gcc/testsuite/gcc.target/mips/near-far-3.c index d4d48b1ed53b..e6af939e0817 100644 --- a/gcc/testsuite/gcc.target/mips/near-far-3.c +++ b/gcc/testsuite/gcc.target/mips/near-far-3.c @@ -13,5 +13,5 @@ NOMIPS16 int test4 () { return normal_func (); } /* { dg-final { scan-assembler-not "\tj\tlong_call_func\n" } } */ /* { dg-final { scan-assembler-not "\tj\tfar_func\n" } } */ -/* { dg-final { scan-assembler "\tj(|al)\tnear_func\n" } } */ +/* { dg-final { scan-assembler "\tj(|al|als)\tnear_func\n" } } */ /* { dg-final { scan-assembler-not "\tj\tnormal_func\n" } } */