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.md: Rename some patterns for clarity.


Hi,

Attached is a patch to rename some patterns for clarity.

Built h8300-elf.  Committed.

Kazu Hirata

2004-03-02  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/h8300.md (pushqi1_h8300hs): Rename to
	pushqi1_h8300hs_advanced.  Adjust its caller.
	(pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced.
	Adjust its caller.

Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.279
diff -u -r1.279 h8300.md
--- h8300.md	2 Mar 2004 02:20:21 -0000	1.279
+++ h8300.md	2 Mar 2004 04:05:52 -0000
@@ -532,7 +532,7 @@
   "mov.w\\t%T0,@-r7"
   [(set_attr "length" "2")])
 
-(define_insn "pushqi1_h8300hs"
+(define_insn "pushqi1_h8300hs_advanced"
   [(set (reg:SI SP_REG)
 	(plus:SI (reg:SI SP_REG) (const_int -4)))
    (set (mem:QI (plus:SI (reg:SI SP_REG) (const_int -3)))
@@ -560,7 +560,7 @@
   if (TARGET_H8300)
     emit_insn (gen_pushqi1_h8300 (operands[0]));
   else if (!TARGET_NORMAL_MODE)
-    emit_insn (gen_pushqi1_h8300hs (operands[0]));
+    emit_insn (gen_pushqi1_h8300hs_advanced (operands[0]));
   else
     emit_insn (gen_pushqi1_h8300hs_normal (operands[0]));
   DONE;
@@ -573,7 +573,7 @@
    && operands[0] != stack_pointer_rtx"
   "")
 
-(define_insn "pushhi1_h8300hs"
+(define_insn "pushhi1_h8300hs_advanced"
   [(set (reg:SI SP_REG)
 	(plus:SI (reg:SI SP_REG) (const_int -4)))
    (set (mem:HI (plus:SI (reg:SI SP_REG) (const_int -2)))
@@ -601,7 +601,7 @@
   if (TARGET_H8300)
     emit_insn (gen_pushhi1_h8300 (operands[0]));
   else if (!TARGET_NORMAL_MODE)
-    emit_insn (gen_pushhi1_h8300hs (operands[0]));
+    emit_insn (gen_pushhi1_h8300hs_advanced (operands[0]));
   else
     emit_insn (gen_pushhi1_h8300hs_normal (operands[0]));
   DONE;


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