MIPS: For micromips allow the near-far-3.c test to use the jals instruction to call...
authorAndrew Bennett <andrew.bennett@imgtec.com>
Mon, 6 Jul 2015 14:16:14 +0000 (14:16 +0000)
committerAndrew Bennett <abennett@gcc.gnu.org>
Mon, 6 Jul 2015 14:16:14 +0000 (14:16 +0000)
testsuite/
* gcc.target/mips/near-far-3.c: Allow the call to near_func to use
the jals instruction.

From-SVN: r225457

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/near-far-3.c

index a0324b50e5abf2c298294dcfb23b7760c8162efc..32959d5f2cd60d23f7b2e4593f2036a3e6bf03b3 100644 (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
index d4d48b1ed53bdb23e62b24ade081ca1c682644a5..e6af939e0817d399b108d0070e33c7aa279df796 100644 (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" } } */