public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, MIPS]  Fix a couple of target tests for microMIPS
@ 2014-05-12 22:35 Moore, Catherine
  2014-05-13  6:27 ` Richard Sandiford
  0 siblings, 1 reply; 2+ messages in thread
From: Moore, Catherine @ 2014-05-12 22:35 UTC (permalink / raw)
  To: gcc-patches; +Cc: Moore, Catherine, Richard Sandiford

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

Hi Richard,

This fixes a few of the near-far MIPS target tests to allow the JALS instruction for microMIPS.
Okay?

Thanks,
Catherine

2014-05-12  Catherine Moore  <clm@codesourcery.com>

	gcc/testsuite/
	* gcc.target/mips/near-far-1.c: Adjust expected output to allow the JALS instruction.
	* gcc.target/mips/near-far-2.c: Likewise.
	* gcc.target/mips/near-far-4.c: Likewise.

[-- Attachment #2: near-far.patch --]
[-- Type: application/octet-stream, Size: 2092 bytes --]

Index: gcc.target/mips/near-far-1.c
===================================================================
--- gcc.target/mips/near-far-1.c	(revision 210342)
+++ gcc.target/mips/near-far-1.c	(working copy)
@@ -16,5 +16,5 @@ int test ()
 
 /* { dg-final { scan-assembler-not "\tjal\tlong_call_func\n" } } */
 /* { dg-final { scan-assembler-not "\tjal\tfar_func\n" } } */
-/* { dg-final { scan-assembler     "\tjal\tnear_func\n" } } */
+/* { dg-final { scan-assembler     "\tjal(|s)\tnear_func\n" } } */
 /* { dg-final { scan-assembler-not "\tjal\tnormal_func\n" } } */
Index: gcc.target/mips/near-far-2.c
===================================================================
--- gcc.target/mips/near-far-2.c	(revision 210342)
+++ gcc.target/mips/near-far-2.c	(working copy)
@@ -14,7 +14,7 @@ int test ()
           + normal_func ());
 }
 
-/* { dg-final { scan-assembler-not "\tjal\tlong_call_func\n" } } */
-/* { dg-final { scan-assembler-not "\tjal\tfar_func\n" } } */
-/* { dg-final { scan-assembler     "\tjal\tnear_func\n" } } */
-/* { dg-final { scan-assembler     "\tjal\tnormal_func\n" } } */
+/* { dg-final { scan-assembler-not "\tjal(|s)\tlong_call_func\n" } } */
+/* { dg-final { scan-assembler-not "\tjal(|s)\tfar_func\n" } } */
+/* { dg-final { scan-assembler     "\tjal(|s)\tnear_func\n" } } */
+/* { dg-final { scan-assembler     "\tjal(|s)\tnormal_func\n" } } */
Index: gcc.target/mips/near-far-4.c
===================================================================
--- gcc.target/mips/near-far-4.c	(revision 210342)
+++ gcc.target/mips/near-far-4.c	(working copy)
@@ -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)\tnormal_func\n" } } */
+/* { dg-final { scan-assembler     "\tj(|al|als)\tnear_func\n" } } */
+/* { dg-final { scan-assembler     "\tj(|al|als)\tnormal_func\n" } } */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, MIPS]  Fix a couple of target tests for microMIPS
  2014-05-12 22:35 [PATCH, MIPS] Fix a couple of target tests for microMIPS Moore, Catherine
@ 2014-05-13  6:27 ` Richard Sandiford
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2014-05-13  6:27 UTC (permalink / raw)
  To: Moore, Catherine; +Cc: gcc-patches

"Moore, Catherine" <Catherine_Moore@mentor.com> writes:
> 2014-05-12  Catherine Moore  <clm@codesourcery.com>
>
> 	gcc/testsuite/
> 	* gcc.target/mips/near-far-1.c: Adjust expected output to allow
> the JALS instruction.
> 	* gcc.target/mips/near-far-2.c: Likewise.
> 	* gcc.target/mips/near-far-4.c: Likewise.

OK, thanks.

Richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-13  6:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-12 22:35 [PATCH, MIPS] Fix a couple of target tests for microMIPS Moore, Catherine
2014-05-13  6:27 ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).