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]

Minor tweaks on SPARC


The patch fixes a typo introduced by Paolo and deletes 4 unused macros 
spotted by Kazu.  Bootstrapped/regtested on sparc-sun-solaris2.8.

Applied to mainline.


2004-03-03  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/sparc/sparc.c (noov_compare64_op): Fix typo.

	* config/sparc/sparc.h (ASM_FLOAT): Delete.
	(ASM_DOUBLE): Likewise.
	(ASM_LONGDOUBLE): Likewise.
	* config/sparc/pbd.h (ASM_INT_OP): Delete.


-- 
Eric Botcazou
Index: config/sparc/sparc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.c,v
retrieving revision 1.293
diff -u -p -r1.293 sparc.c
--- config/sparc/sparc.c	3 Mar 2004 08:35:28 -0000	1.293
+++ config/sparc/sparc.c	3 Mar 2004 16:56:52 -0000
@@ -1001,7 +1001,7 @@ noov_compare64_op (register rtx op, enum
   if (! TARGET_V9)
     return 0;
 
-  if (!COMPARISON_P (op));
+  if (!COMPARISON_P (op))
     return 0;
 
   code = GET_CODE (op);
Index: config/sparc/pbd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/pbd.h,v
retrieving revision 1.16
diff -u -r1.16 pbd.h
--- config/sparc/pbd.h	27 Sep 2003 04:48:28 -0000	1.16
+++ config/sparc/pbd.h	3 Mar 2004 12:21:44 -0000
@@ -143,5 +143,3 @@
 #define ASM_OUTPUT_SOURCE_LINE(file, line, counter)	\
   fprintf (file, ".stabn 68,0,%d,.LM%d\n.LM%d:\n",	\
 	   line, counter, counter)
-
-#define ASM_INT_OP "\t.long "
Index: config/sparc/sparc.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.h,v
retrieving revision 1.246
diff -u -r1.246 sparc.h
--- config/sparc/sparc.h	24 Feb 2004 15:50:46 -0000	1.246
+++ config/sparc/sparc.h	3 Mar 2004 12:21:59 -0000
@@ -2324,12 +2324,6 @@
 
 #define ASM_APP_OFF ""
 
-/* ??? Try to make the style consistent here (_OP?).  */
-
-#define ASM_FLOAT	".single"
-#define ASM_DOUBLE	".double"
-#define ASM_LONGDOUBLE	".xxx"		/* ??? Not known (or used yet).  */
-
 /* How to refer to registers in assembler output.
    This sequence is indexed by compiler's hard-register-number (see above).  */
 

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