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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe55a82362706dc6453e7d9af16b3cbe8e0e9922;p=gcc.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 a0324b50e5a..32959d5f2cd 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 d4d48b1ed53..e6af939e081 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" } } */