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
This commit is contained in:
Andrew Bennett 2015-07-06 14:16:14 +00:00 committed by Andrew Bennett
parent aad83b7cbb
commit fe55a82362
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-07-06 Andrew Bennett <andrew.bennett@imgtec.com>
* gcc.target/mips/near-far-3.c: Allow the call to near_func to use
the jals instruction.
2015-07-06 H.J. Lu <hongjiu.lu@intel.com>
PR target/53383

View File

@ -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" } } */