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: Make some patterns anonymous.


Hi,

Attached is a patch to make some patterns anonymous.

Committed as obvious.

Kazu Hirata

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

	* config/h8300/h8300.md (tablejump_h8300): Change to
	*tablejump_h8300.
	(tablejump_h8300h): Change to *tablejump_h8300hs_advanced.
	(tablejump_normal_mode): Change to *tablejump_h8300hs_normal.
	(indirect_jump_h8300): Change to *indirect_jump_h8300.
	(indirect_jump_h8300h): Change to
	*indirect_jump_h8300hs_advanced.
	(indirect_jump_normal_mode): Change to
	*indirect_jump_h8300hs_normal.

Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.244
diff -u -r1.244 h8300.md
--- h8300.md	24 Nov 2003 17:11:44 -0000	1.244
+++ h8300.md	24 Nov 2003 17:28:49 -0000
@@ -1751,7 +1751,7 @@
   ""
   "")
 
-(define_insn "tablejump_h8300"
+(define_insn "*tablejump_h8300"
   [(set (pc) (match_operand:HI 0 "register_operand" "r"))
    (use (label_ref (match_operand 1 "" "")))]
   "TARGET_H8300"
@@ -1759,7 +1759,7 @@
   [(set_attr "cc" "none")
    (set_attr "length" "2")])
 
-(define_insn "tablejump_h8300h"
+(define_insn "*tablejump_h8300hs_advanced"
   [(set (pc) (match_operand:SI 0 "register_operand" "r"))
    (use (label_ref (match_operand 1 "" "")))]
   "TARGET_H8300H || TARGET_H8300S"
@@ -1767,7 +1767,7 @@
   [(set_attr "cc" "none")
    (set_attr "length" "2")])
 
-(define_insn "tablejump_normal_mode"
+(define_insn "*tablejump_h8300hs_normal"
    [(set (pc) (match_operand:HI 0 "register_operand" "r"))
     (use (label_ref (match_operand 1 "" "")))]
    "(TARGET_H8300H || TARGET_H8300S) && TARGET_NORMAL_MODE"
@@ -1782,21 +1782,21 @@
   ""
   "")
 
-(define_insn "indirect_jump_h8300"
+(define_insn "*indirect_jump_h8300"
   [(set (pc) (match_operand:HI 0 "jump_address_operand" "Vr"))]
   "TARGET_H8300"
   "jmp	@%0"
   [(set_attr "cc" "none")
    (set_attr "length" "2")])
 
-(define_insn "indirect_jump_h8300h"
+(define_insn "*indirect_jump_h8300hs_advanced"
   [(set (pc) (match_operand:SI 0 "jump_address_operand" "Vr"))]
   "TARGET_H8300H || TARGET_H8300S"
   "jmp @%0"
   [(set_attr "cc" "none")
    (set_attr "length" "2")])
 
-(define_insn "indirect_jump_normal_mode"
+(define_insn "*indirect_jump_h8300hs_normal"
   [(set (pc) (match_operand:HI 0 "jump_address_operand" "Vr"))]
   "(TARGET_H8300H || TARGET_H8300S) && TARGET_NORMAL_MODE"
   "jmp @%S0"


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