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: Give internal names.


Hi,

Attached is a patch to give internal names.  The patch also changes
the names of patterns that nobody references to internal names.

Committed as obvious.

Kazu Hirata

2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/h8300.md (4 anonymous patterns): Give internal
	names.
	(movsi_h8300): Change the name to *movsi_h8300.
	(movsi_h8300hs): Change the name to *movsi_h8300hs.
	(movsf_h8300): Change the name to *movsf_h8300.
	(movsf_h8300hs): Change the name to *movsf_h8300hs.

Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.222
diff -u -r1.222 h8300.md
--- h8300.md	23 Jun 2003 03:37:36 -0000	1.222
+++ h8300.md	24 Jun 2003 18:10:15 -0000
@@ -150,7 +150,7 @@
   DONE;
 }")
 
-(define_insn ""
+(define_insn "*movqi_h8300"
   [(set (match_operand:QI 0 "general_operand_dst" "=r,r ,<,r,r,m")
 	(match_operand:QI 1 "general_operand_src" " I,r>,r,n,m,r"))]
   "TARGET_H8300
@@ -166,7 +166,7 @@
   [(set_attr "length" "2,2,2,2,4,4")
    (set_attr "cc" "set_zn,set_znv,set_znv,set_znv,set_znv,set_znv")])
 
-(define_insn ""
+(define_insn "*movqi_h8300hs"
   [(set (match_operand:QI 0 "general_operand_dst" "=r,r ,<,r,r,m")
 	(match_operand:QI 1 "general_operand_src" " I,r>,r,n,m,r"))]
   "(TARGET_H8300H || TARGET_H8300S)
@@ -242,7 +242,7 @@
   DONE;
 }")
 
-(define_insn ""
+(define_insn "*movhi_h8300"
   [(set (match_operand:HI 0 "general_operand_dst" "=r,r,<,r,r,m")
 	(match_operand:HI 1 "general_operand_src" "I,r>,r,i,m,r"))]
   "TARGET_H8300
@@ -263,7 +263,7 @@
   [(set_attr "length" "2,2,2,4,4,4")
    (set_attr "cc" "set_zn,set_znv,set_znv,set_znv,set_znv,set_znv")])
 
-(define_insn ""
+(define_insn "*movhi_h8300hs"
   [(set (match_operand:HI 0 "general_operand_dst" "=r,r,<,r,r,m")
 	(match_operand:HI 1 "general_operand_src" "I,r>,r,i,m,r"))]
   "(TARGET_H8300H || TARGET_H8300S)
@@ -353,7 +353,7 @@
     }
 }")
 
-(define_insn "movsi_h8300"
+(define_insn "*movsi_h8300"
   [(set (match_operand:SI 0 "general_operand_dst" "=r,r,r,o,<,r")
 	(match_operand:SI 1 "general_operand_src" "I,r,io,r,r,>"))]
   "TARGET_H8300
@@ -419,7 +419,7 @@
   [(set_attr "length" "4,4,8,8,4,4")
    (set_attr "cc" "clobber")])
 
-(define_insn "movsf_h8300"
+(define_insn "*movsf_h8300"
   [(set (match_operand:SF 0 "general_operand_dst" "=r,r,r,o,<,r")
 	(match_operand:SF 1 "general_operand_src" "I,r,io,r,r,>"))]
   "TARGET_H8300
@@ -475,7 +475,7 @@
   [(set_attr "length" "4,4,8,8,4,4")
    (set_attr "cc" "clobber")])
 
-(define_insn "movsi_h8300hs"
+(define_insn "*movsi_h8300hs"
   [(set (match_operand:SI 0 "general_operand_dst" "=r,r,r,<,r,r,m,*a,*a,r")
 	(match_operand:SI 1 "general_operand_src" "I,r,i,r,>,m,r,I,r,*a"))]
   "(TARGET_H8300S || TARGET_H8300H)
@@ -550,7 +550,7 @@
   [(set_attr "length" "2,2,6,4,4,10,10,2,6,4")
    (set_attr "cc" "set_zn,set_znv,clobber,set_znv,set_znv,set_znv,set_znv,none_0hit,none_0hit,set_znv")])
 
-(define_insn "movsf_h8300h"
+(define_insn "*movsf_h8300h"
   [(set (match_operand:SF 0 "general_operand_dst" "=r,r,r,m,<,r")
 	(match_operand:SF 1 "general_operand_src" "I,r,im,r,r,>"))]
   "(TARGET_H8300H || TARGET_H8300S)


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