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]

[patch] h8300: s/do_movsi/h8300_expand_movsi/


Hi,

Attached is a patch to replace do_movsi with h8300_expand_movsi
because "do_movsi" doesn't suggest what the function does.

Built h8300-hms.  Committed as obvious.

Kazu Hirata

2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/h8300-protos.h: Replace do_movsi with
	h8300_expand_movsi.
	* config/h8300/h8300.c (do_movsi): Change to
	h8300_expand_movsi.
	* config/h8300/h8300.md (movsi): Replace do_movsi with
	h8300_expand_movsi.
	(movsf): Likewise.

Index: h8300-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300-protos.h,v
retrieving revision 1.64
diff -u -r1.64 h8300-protos.h
--- h8300-protos.h	17 Nov 2003 02:29:54 -0000	1.64
+++ h8300-protos.h	14 Jan 2004 01:38:18 -0000
@@ -39,7 +39,7 @@
 extern void print_operand_address (FILE *, rtx);
 extern void print_operand (FILE *, rtx, int);
 extern void final_prescan_insn (rtx, rtx *, int);
-extern int do_movsi (rtx[]);
+extern int h8300_expand_movsi (rtx[]);
 extern void notice_update_cc (rtx, rtx);
 extern const char *output_logical_op (enum machine_mode, rtx *);
 extern unsigned int compute_logical_op_length (enum machine_mode,
Index: h8300.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.c,v
retrieving revision 1.259
diff -u -r1.259 h8300.c
--- h8300.c	14 Jan 2004 01:31:56 -0000	1.259
+++ h8300.c	14 Jan 2004 01:38:19 -0000
@@ -1556,7 +1556,7 @@
 /* Prepare for an SI sized move.  */
 
 int
-do_movsi (rtx operands[])
+h8300_expand_movsi (rtx operands[])
 {
   rtx src = operands[1];
   rtx dst = operands[0];
Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.255
diff -u -r1.255 h8300.md
--- h8300.md	14 Jan 2004 00:52:26 -0000	1.255
+++ h8300.md	14 Jan 2004 01:38:20 -0000
@@ -351,7 +351,7 @@
 {
   if (TARGET_H8300)
     {
-      if (do_movsi (operands))
+      if (h8300_expand_movsi (operands))
 	DONE;
     }
   else
@@ -373,7 +373,7 @@
 {
   if (TARGET_H8300)
     {
-      if (do_movsi (operands))
+      if (h8300_expand_movsi (operands))
 	DONE;
     }
   else


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