This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Disable mips copro tests for mips16


This patch just disables the mips coprocessor tests for mips16,
which has no coprocessor insns.

Tested on the same targets as before, installed as obvious.

Richard


	* gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16.

Index: testsuite/gcc.c-torture/compile/mipscop-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c,v
retrieving revision 1.3
diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.3 mipscop-1.c
*** testsuite/gcc.c-torture/compile/mipscop-1.c	18 Aug 2003 08:02:00 -0000	1.3
--- testsuite/gcc.c-torture/compile/mipscop-1.c	6 Oct 2003 19:06:16 -0000
***************
*** 1,5 ****
--- 1,6 ----
  /* { dg-do compile { target mips*-*-* } } */
  
+ #ifndef __mips16
  register unsigned int cp0count asm ("$c0r1");
  
  int
*************** main (int argc, char *argv[])
*** 10,12 ****
--- 11,14 ----
    d = cp0count + 3;
    printf ("%d\n", d);
  }
+ #endif
Index: testsuite/gcc.c-torture/compile/mipscop-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c,v
retrieving revision 1.3
diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.3 mipscop-2.c
*** testsuite/gcc.c-torture/compile/mipscop-2.c	18 Aug 2003 08:02:00 -0000	1.3
--- testsuite/gcc.c-torture/compile/mipscop-2.c	6 Oct 2003 19:06:16 -0000
***************
*** 1,5 ****
--- 1,6 ----
  /* { dg-do compile { target mips*-*-* } } */
  
+ #ifndef __mips16
  register unsigned int c3r1 asm ("$c3r1");
  
  extern unsigned int b, c;
*************** foo ()
*** 16,18 ****
--- 17,20 ----
    d = c3r1;
    printf ("%d\n", d);
  }
+ #endif
Index: testsuite/gcc.c-torture/compile/mipscop-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c,v
retrieving revision 1.3
diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.3 mipscop-3.c
*** testsuite/gcc.c-torture/compile/mipscop-3.c	18 Aug 2003 08:02:00 -0000	1.3
--- testsuite/gcc.c-torture/compile/mipscop-3.c	6 Oct 2003 19:06:16 -0000
***************
*** 1,5 ****
--- 1,6 ----
  /* { dg-do compile { target mips*-*-* } } */
  
+ #ifndef __mips16
  register unsigned int c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
  
  extern unsigned int b, c;
*************** foo ()
*** 16,18 ****
--- 17,20 ----
    d = c3r1;
    printf ("%d\n", d);
  }
+ #endif
Index: testsuite/gcc.c-torture/compile/mipscop-4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c,v
retrieving revision 1.3
diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.3 mipscop-4.c
*** testsuite/gcc.c-torture/compile/mipscop-4.c	18 Aug 2003 08:02:00 -0000	1.3
--- testsuite/gcc.c-torture/compile/mipscop-4.c	6 Oct 2003 19:06:16 -0000
***************
*** 1,5 ****
--- 1,6 ----
  /* { dg-do compile { target mips*-*-* } } */
  
+ #ifndef __mips16
  register unsigned long c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
  
  extern unsigned long b, c;
*************** foo ()
*** 16,18 ****
--- 17,20 ----
    d = c3r1;
    printf ("%d\n", d);
  }
+ #endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]