Commit fe55a823 by Andrew Bennett Committed by Andrew Bennett

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
parent aad83b7c
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
......
......@@ -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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment